How to reset the Conjur Admin password at the DB level?
87
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:02 PM
Objective
How to reset the Conjur Admin password at the DB level?
Environment
12.7;13.0;13.2;13.1;13.3;13.4;13.5 Conjur Server
Procedure
- Know the Conjur Account with which the environment is configured. It can be found under 'Info' Page pulled from Master/Leader as shown in the screenshot below -
- Execute below command on Master/Leader Node -
docker exec -it <container name> bash -c "env RAILS_ENV=appliance chpst -u api:conjur conjur-plugin-service possum ./bin/conjurctl role reset-password <Account Name>:user:admin"
For example - For account 'CAU', command to reset password for user 'admin' will be as below - - Try to login to Conjur UI using the newly set password. It should work.
- (optional) Once done choose to rotate the api key and change the password for user 'admin'