---
title: Encrypted Agent Password
description: The agent profile password, which must correspond to the value in AM.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.encrypted.password
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.encrypted.password.html
---

# Encrypted Agent Password

The agent profile password, which must correspond to the value in AM.

Set this property to the encrypted value of the password, where the password is encrypted using the key in the property [Encryption Key/Salt](org.forgerock.agents.encryption.key.html).

Use the following command to get the encrypted value of the password, where `passwordFile` contains only the password followed by a newline, and has the access permission `400`:

`$ ./agentadmin --encrypt agentInstance passwordFile`

Default: Empty

|                          |                                                                                                                                        |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.encrypted.password`                                                                                              |
| Aliases                  | `com.iplanet.am.service.secret`   Introduced in Java Agent 5.0`org.forgerock.agents.encrypted.password`   Introduced in Java Agent 5.6 |
| Function                 | Miscellaneous, Required                                                                                                                |
| Type                     | String                                                                                                                                 |
| Bootstrap property       | No                                                                                                                                     |
| Required property        | Yes - If this property is missing, the agent fails to start                                                                            |
| Restart required         | Yes - Restart the container after changing the property                                                                                |
| Local configuration file | `AgentPassword.properties`                                                                                                             |
