Skip to main content
Feedback

Changing the Default Administrator Password

The default administrator password can be changed from the developer portal.

Before you begin (introduced in v6.1.0)

note

This section is only applicable for Boomi Cloud API Management – Local Edition (LE) - 6.1.0.

Make sure that all components are active and the cluster is up and running

kubectl get pods
NAME READY STATUS RESTARTS AGE
cache-deploy-66559dcd79-64n2n 2/2 Running 0 4h16m
cache-deploy-66559dcd79-7vvdp 2/2 Running 0 4h16m
cache-deploy-66559dcd79-m7dn7 2/2 Running 0 4h16m
cacheloader-deploy-7bfd5b88d5-j7hkw 2/2 Running 0 4h16m
configui-deploy-77d978b8cd-j5mbk 2/2 Running 0 4h16m
loader-job-delta-28526955-sb899 0/1 Completed 0 10s
platformapi-deploy-85d699fd7f-mqs8x 2/2 Running 0 4h16m
startup-cacheloader-job-v6-0-0-ga-332r-2dvsj 0/1 Completed 0 4h16m
trafficmanager-deploy-c4c76d544-p2z9n 2/2 Running 0 4h16m

Before you begin (in v6.0.0)

note

This section is only applicable for Boomi Cloud API Management – Local Edition (LE) - 6.0.0.

Make sure that all components are active and the cluster is up and running

kubectl get pods
NAME READY STATUS RESTARTS AGE
cache-deploy-66559dcd79-64n2n 2/2 Running 0 4h16m
cache-deploy-66559dcd79-7vvdp 2/2 Running 0 4h16m
cache-deploy-66559dcd79-m7dn7 2/2 Running 0 4h16m
cacheloader-deploy-7bfd5b88d5-j7hkw 2/2 Running 0 4h16m
configui-deploy-77d978b8cd-j5mbk 2/2 Running 0 4h16m
loader-job-delta-28526955-sb899 0/1 Completed 0 10s
platformapi-deploy-85d699fd7f-mqs8x 2/2 Running 0 4h16m
startup-cacheloader-job-v6-0-0-ga-332r-2dvsj 0/1 Completed 0 4h16m
trafficmanager-deploy-c4c76d544-p2z9n 2/2 Running 0 4h16m

Procedure (in v6.0.0+)

  1. Open the developer portal.

    https://<cm_svc_ip>

  2. Navigate to Localdev Admin > Profile and click Change Password. Input the current and the new password

  3. Navigate to the properties folder from the installation directory.

    <root_dir>/docker-deploy/properties

  4. Add a new field by replacing password with new _password as its value in the tml_cm_properties.json file

    "maxIdleTime" : 300,
    "api_debug_key" : "24NumbersAndOrCharacters",
    "api_debug_secret" : "10NumChars",
    "password" : "<new_password>"
  5. Recompose the manifest file to generate the updated artifacts.

    ./compose.sh <mainfest_json_file>

  6. Navigate to the manifest folder and undeploy the cm pod.

    ./undeploy-cm-pod.sh
    secret "cm-property" deleted
    secret "cm-jks" deleted
    secret "cm-crt" deleted
    secret "cm-key" deleted
    secret "cm-resource" deleted
    deployment.apps "cm-deploy-0" deleted
  7. Redeploy the cm pod. The new password comes in effect now.

    ./deploy-cm-pod.sh
    secret/cm-property created
    secret/cm-jks created
    secret/cm-crt created
    secret/cm-key created
    secret/cm-resource created
    deployment.apps/cm-deploy-0 created
    cm-deploy-0-5ccc99468f-gfz7r 1/1 Running 0 10s

What to do next (in v6.0.0)

  • Ensure that all components are in the active state

    cat /opt/mashery/containeragent/resources/properties/tml_cm_properties_final.json | grep
    \"password\"

    "password" : "<new_password>",
  • To verify the new password, log in the control center using the new password.

    https://<cm_svc_ip>/admin

    You can carry out operations using the latest credentials.

Updating Password in Existing Deployment (in v6.1.0)

Procedure

  1. Log in to the Developer Portal and update the password in the Admin view.

  2. Update secret configui-user-secrets with the new value.

  3. Restart configui pods. After restarting the pods, you can:

    Delete the pod and wait for the K8s scheduler to recreate the pod.

    or

    Scale down configui pods to 0 (wait for them to terminate) and scale them up again to the number of pods you want.

Updating Password in New Deployment (in v6.1.0)

Procedure

  1. Start toolkit container. Refer to Importing Seed Data for more information.

  2. Run customization script as mentioned in Importing Seed Data.

  3. When running customization pass new flag localdevadminpassword with value for configui and developer portal password.

  4. Create configui-user-secrets with the new password.

On this Page