---
title: Agent Profile Password Encryption Key
description: The key used to encrypt the agent profile password in Agent Profile Password
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.key
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.key.html
---

# Agent Profile Password Encryption Key

The key used to encrypt the agent profile password in [Agent Profile Password](com.sun.identity.agents.config.password.html)

This property is provided in the `agent-key.conf` file.

To create a encryption key, run the `agentadmin` command with the `--k` option.

Default: Empty

|                    |                                                                    |
| ------------------ | ------------------------------------------------------------------ |
| Property name      | `com.sun.identity.agents.config.key`   Introduced in Web Agent 4.x |
| Function           | Agent profile                                                      |
| Type               | String                                                             |
| Bootstrap property | Yes                                                                |
| Required property  | No                                                                 |
| Restart required   | No                                                                 |
