Change client secret of an application
|
It is crucial to change the secret also in the kubernetes secret and restart all the pods that use the secret. Otherwise those modules will not be able to login anymore. |
To change the client secret of an application you can use this REST endpoint:
https://<service root path>/iam/application-management/v1/tenants/<tenantId>/applications/<applicationId>/secret
Replace <tenantId> and <applicationId> and provide JSON payload
{
"clientSecret": ""
}
For the authorization you need a user-token.
|
You can get a user-token from your browser after logging in to portal. Select in the menu "Access Management" | "Modules" and then look in the network section of your browsers debug window for |
Add the user-token as Authorization header
Bearer <your-user-token>