2.9.19 update-password-alias
Updates a password alias.
Synopsis
asadmin [asadmin-options] update-password-alias [--help] aliasname
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The update-password-alias subcommand of asadmin updates the password alias IDs in the named target. An alias is a token of the form ${ALIAS=password-alias-password}. The password corresponding to the alias name is stored in an encrypted form. The update-password-alias subcommand takes both a secure interactive form (in which the user is prompted for all information) and a more script-friendly form, in which the password is propagated on the command line. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Files
This is the name of the password as it appears in domain.xml
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- aliasname
-
Specifies the name of the password as it appears in the domain.xml file.
Type: String
The following values can be specified:
-
Name of the password alias
Default value: N/A
-
Examples
The following example updates the password for the jmspassword-alias alias.
asadmin update-password-alias jmspassword-alias
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |
Notes
Restart the DAS after updating the alias for the changes to take effect.