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

book

Article ID: 196033

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

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.

Cause

 

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

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

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 add-user-iam.sh 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
Password:
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