> For the complete documentation index, see [llms.txt](https://docs.enclaive.cloud/nitride/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enclaive.cloud/nitride/tutorials/vhsm-agent/vhsm-agent-configurations.md).

# vHSM Agent Configurations

The `agent-config.json` file configures how the vHSM Agent authenticates to a vHSM server, stores tokens, and renders secrets into files or templates. The various blocks of the configuration file are:

* [auto\_auth](/nitride/tutorials/vhsm-agent/vhsm-agent-configurations/auto_auth.md)
* [template\_config](/nitride/tutorials/vhsm-agent/vhsm-agent-configurations/template_config.md)
* [template](/nitride/tutorials/vhsm-agent/vhsm-agent-configurations/template.md)
* [vault](#vault-server-configuration-or-vault-block)

### Vault Server Configuration or `vault` block

Defines how the agent connects to the vHSM server.

#### Example:

```hcl
vault {
  address = "http://127.0.0.1:8200"
}
```

#### Parameters:

* **`address`**: URL of the vHSM server (Vault-compatible API).
  * Example: `http://127.0.0.1:8200`.
