---
title: ampassword
description: Change passwords for the AM Administrator.
component: pingam
version: 8
page_id: pingam:am-reference:ampassword-1
canonical_url: https://docs.pingidentity.com/pingam/8/am-reference/ampassword-1.html
keywords: ["Administration", "Password", "Password Change"]
page_aliases: ["reference:ampassword-1.adoc"]
section_ids:
  ampassword-1-desc: Description
  ampassword-1-options: Options
  ampassword-1-examples: Examples
---

# ampassword

Change passwords for the AM Administrator.

```
ampassword { options }
```

## Description

This command allows you to change passwords held in the configuration store, and to encrypt passwords.

## Options

The following options are supported.

* `-a | --admin [ -o | --old old-password-file -n | --new new-password-file ]`

  Change the password for `amAdmin` from the value stored in *old-password-file* to the value stored in *new-password-file*.

* `-p | --proxy [ -o | --old old-password-file -n | --new new-password-file ]`

  Change the password for the proxy administrator from the value stored in *old-password-file* to the value stored in *new-password-file*.

  The proxy administrator password is shown encrypted in the output from `ssoadm get-svrcfg-xml`.

* `-e | --encrypt [ password-file ]`

  Display the password value provided encrypted with the key generated during AM installation.

* `-h | --help`

  Display the usage message.

## Examples

The following example encrypts the password contained within a text file.

* Create a text file, for example `$HOME/.pwd.txt`, containing the password string on a single line.

* Encrypt the password by using the `ampassword` command:

  ```bash
  $ ampassword -e $HOME/.pwd.txt
  AQICkZs3qy5QUCXir9tebIEEZYGFXI2lCC4B
  ```
