Resetting BaaS Passwords

Edge for Private Cloud v. 4.16.05

You can reset the BaaS administrator and Cassandra passwords after the installation is complete.

Resetting the BaaS administrator password

You can set the password for the BaaS administrator in the BaaS Portal UI by selecting Profile under the user's email address in the menu bar.

If you lose the BaaS administrator password, you can reset it by updating a configuration file on all BaaS Stack nodes:

  1. On the first BaaS Stack node, create an encrypted string for the password by using the command:
    > /opt/apigee/apigee-service/bin/apigee-service baas-usergrid secure_password

    You are prompted to enter the new password. This command returns an encrypted version of the password in the form:

    SECURE:0b91fa670bdcd1d4156bd480cd401e4db8d1f610d034f15a02a38372dd2
  2. Open /opt/apigee/customer/application/usergrid.properties in an editor. If this file does not exist, create it.
  3. Set the following property in usergrid.properties:
    usergrid-deployment_usergrid.sysadmin.login.password=SECURE:0b91fa670bdcd1d4156bd480cd401e4db8d1f610d034f15a02a38372dd2

    Make sure you include the string "SECURE:".
  4. Configure and restart the BaaS Stack by using the commands:
    > /<inst_root>/apigee/apigee-service/bin/apigee-service baas-usergrid configure
    > /<inst_root>/apigee/apigee-service/bin/apigee-service baas-usergrid restart
  5. Repeat on all BaaS Stack nodes.
  6. You can now log in to the BaaS Portal as the BaaS administrator using the new password. You can also use the following cURL command on the BaaS Stack node to validate it:
    > curl -v 0:8080/system/adminUserName/setup -u adminUserName:newUnencryptedPWord

Resetting Cassandra password

By default, Cassandra ships with authentication disabled. If you enable authentication, it uses a predefined user named 'cassandra' with a password of 'cassandra'. You can use this account, set a different password for this account, or create a new Cassandra user. Add, remove, and modify users by using the Cassandra CREATE/ALTER/DROP USER statements.

For information on how to enable Cassandra authentication, see Enable Cassandra authentication.

To reset the Cassandra password, see Resetting Edge Passwords.