Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

update-password-alias

updates a password alias

Synopsis

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

--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

delete-password-alias(1), list-password-aliases(1), create-password-alias(1)

asadmin(1M)