Use the list-auth-realms subcommand in remote mode to list the existing authentication realms.
Ensure that the server is running.
Remote subcommands require a running server.
List realms by using the list-auth-realms(1) subcommand.
This example lists the authentication realms on localhost.
asadmin> list-auth-realms db certificate file admin-realm Command list-auth-realms executed successfully.
You can also view the full syntax and options of the subcommand by typing asadmin help list-auth-realms at the command line.