Changing the Default Administrator Password
The default administrator password can be changed from the developer portal.
Before you begin (introduced in v6.1.0)
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)
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+)
-
Open the developer portal.
https://<cm_svc_ip> -
Navigate to Localdev Admin > Profile and click Change Password. Input the current and the new password
-
Navigate to the properties folder from the installation directory.
<root_dir>/docker-deploy/properties -
Add a new field by replacing password with new
_passwordas its value in thetml_cm_properties.jsonfile"maxIdleTime" : 300,
"api_debug_key" : "24NumbersAndOrCharacters",
"api_debug_secret" : "10NumChars",
"password" : "<new_password>" -
Recompose the manifest file to generate the updated artifacts.
./compose.sh <mainfest_json_file> -
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 -
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>/adminYou can carry out operations using the latest credentials.
Updating Password in Existing Deployment (in v6.1.0)
Procedure
-
Log in to the Developer Portal and update the password in the Admin view.
-
Update secret
configui-user-secretswith the new value. -
Restart
configuipods. After restarting the pods, you can:Delete the pod and wait for the K8s scheduler to recreate the pod.
or
Scale down
configuipods 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
-
Start toolkit container. Refer to Importing Seed Data for more information.
-
Run customization script as mentioned in Importing Seed Data.
-
When running customization pass new flag
localdevadminpasswordwith value forconfiguiand developer portal password. -
Create
configui-user-secretswith the new password.