update-password-alias

Updates a password alias.

Synopsis

asadmin [asadmin-options] update-password-alias [--help]
aliasname

Description

This subcommand 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.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

aliasname

This is the name of the password as it appears in domain.xml.

Examples

Example 1 Updating a Password Alias

asadmin> update-password-alias jmspassword-alias
Please enter the alias password>
Please enter the alias password again>
Command update-password-alias executed successfully.

Exit Status

0

command executed successfully

1

error in executing the command

See Also