ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

What to do when you forget IAM admin user's password?


Article ID: 196033


Updated On:


CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization


There are situations when customers forget the IAM admin password and get stuck as they can't login to IAM as an admin user. This article explains how to get around such a situation.



DevTest Users for get their IAM admin password and can't login to IAM.


Release : 10.6

Component : CA Service Virtualization


IAM comes with few command line options. DevTest install comes with a batch file which is handy for this specific situation.

add-user-iam.bat or allows to create admin user from command prompt. The following example shows how to run this command to create a new user called "newadmin" by providing a password of your choice

C:\Program Files\CA\DevTest\IdentityAccessManager\bin>add-user-iam.bat -u newadmin
Press ctrl-d (Unix) or ctrl-z (Windows) to exit
Added 'newadmin' to 'C:\PROGRA~1\CA\DevTest\IDENTI~1\standalone\configuration\keycloak-add-user.json', restart server to load user
Press any key to continue . . .

Restart IAM Server and now you would be able to login to IAM as 'newadmin'. Once you login to IAM as newadmin, you would be able to reset the password of default 'admin' user

Additional Information