---
title: Agent Profile Password Encryption Key
description: The encryption key used to encrypt the agent profile password, which should be provided in Agent Profile Password.
component: web-agents
version: 2023.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.key
canonical_url: https://docs.pingidentity.com/web-agents/2026/properties-reference/com.sun.identity.agents.config.key.html
llms_txt: https://docs.pingidentity.com/web-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/web-agents/2026/properties-reference/com.sun.identity.agents.config.key.html
---

# Agent Profile Password Encryption Key

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

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                                                                 |
