> For the complete documentation index, see [llms.txt](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults.md). Agents can also search and read this documentation through its [MCP server](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/~gitbook/mcp).

# Secrets Vaults

## Overview

{% hint style="info" %}
**Early Access**: This functionality is available in Early Access. Contact Veza support to request access for your organization.
{% endhint %}

This guide explains how to configure external secret vaults to securely store sensitive credentials for Veza integrations. Secret vaults enable customers to store sensitive information, such as usernames, passwords, authentication tokens, and certificates, in their private network environments rather than storing them in Veza.

When using secrets vaults, Veza stores only the secret identifiers (names or IDs) rather than the actual credential values. This approach keeps credential values out of Veza storage while allowing Veza's discovery and extraction processes to access required credentials dynamically.

## How it works

The Secrets Vaults feature follows a secure retrieval flow:

```mermaid
sequenceDiagram
    participant User as Security Admin
    participant Veza as Veza Platform
    participant IP as Insight Point
    participant Vault as External Vault
    participant Target as Target System (AD/Okta/LDAP)
    
    User->>Veza: Configure integration with<br/>secret reference
    Veza->>Veza: Store secret reference only
    Note over Veza,IP: Discovery/Extraction starts
    Veza->>IP: Request data using secret reference
    IP->>Vault: Authenticate and retrieve secret
    Vault->>IP: Return actual secret
    IP->>Target: Authenticate using secret
    Target->>IP: Return data
    IP->>Veza: Return extracted data
    Note over IP: Secret not cached or stored
```

The integration works as follows:

1. For a vault configured on an external Insight Point, your organization's vault credentials are stored only in the vault configuration file on that Insight Point. Veza never has access to these credentials outside of the discovery/extractor processes that run in your environment.
2. Veza stores only the references (IDs/names) to the secrets in your vault, not the actual secret values themselves.
3. When an integration job needs to authenticate, the Insight Point uses its vault credentials to retrieve the required secret from your external vault.
4. The Insight Point retrieves the secret from your vault each time a job needs it, including credential validation, discovery, extraction, and Lifecycle Management actions. The Insight Point does not cache the secret or write it to disk, and Veza does not store secret values.

You can revoke Veza's access to your secrets at any time by disabling the Insight Point or cutting off its connection to Veza's network.

## Current limitations

In the current release, Secrets Vaults has the following limitations:

* Requires an external Insight Point in the Veza UI
* Supports these vault providers:
  * Azure Key Vault
  * HashiCorp Vault, with Insight Point v2026.8.24 or later
  * Filesystem, for Kubernetes Secrets mounted on the Insight Point pod, with Insight Point v2026.9.28 or later
* Supported integrations:
  * Active Directory
  * Anthropic Claude Managed Agents
  * AWS, for individual AWS integrations, with Insight Point v2026.11.2 or later. [AWS auto-enrollment](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/integrations/aws/aws-cloudformation/aws-auto-enrollment.md) configurations cannot use vault credentials
  * Azure
  * Azure DevOps
  * GitHub, with Insight Point v2026.11.2 or later
  * GitLab
  * Google Cloud, with Insight Point v2026.11.2 or later
  * HashiCorp Vault, as an integration that Veza extracts from, with Insight Point v2026.11.2 or later
  * LangSmith
  * LDAP
  * LiteLLM AI Gateway
  * MySQL (password only)
  * Okta
  * OpenAI
  * Salesforce, with Insight Point v2026.11.2 or later
  * ServiceNow, with Insight Point v2026.11.2 or later
  * UiPath
  * UKGPro (user name and password only), starting with Insight Point v2026.11.16
  * Zendesk
  * Custom (OAA) connectors with vault-sourced configuration secrets
* Requires all secret fields (username, password, etc.) to be stored as a single external secret in JSON format when using the UI configuration path

## Before you start

Before you configure secrets vaults, ensure:

* You have an external insight point deployed and configured
* You have a vault the Insight Point can reach: an Azure Key Vault, a HashiCorp Vault cluster, or Kubernetes Secrets mounted on the Insight Point pod for the filesystem provider
* You have appropriate permissions to create and manage secrets in that vault
* Network connectivity exists between your Insight Point and the vault. For the filesystem provider, the Secrets are mounted on the Insight Point pod instead.

## Configure vault access on Insight Point

1. Create a secrets vault configuration file on your external insight point.

   The configuration file must be in YAML format and contain the credentials needed to access your vault. For Azure Key Vault and HashiCorp Vault, these credentials allow the Insight Point to authenticate with the vault to retrieve the actual integration secrets. The `filesystem` provider needs no credentials, because it reads secrets from files already mounted on the Insight Point.

   **Azure Key Vault:**

   ```yaml
   vaults:
     - name: 'MyVault'
       vault_provider: 'azure_key_vault'
       auth_type: 'client_secret'
       auth_config:
         vault_uri: 'https://my-vault.vault.azure.net/'
         tenant_id: '11111111-2222-3333-4444-555555555555'
         client_id: 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'
         client_secret: 'my-secret'
   ```

   See [Azure Key Vault configuration reference](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/azure-key-vault.md) for the full setup.

   **HashiCorp Vault:**

   ```yaml
   vaults:
     - name: 'MyHashiCorpVault'
       vault_provider: 'hashicorp_vault'
       auth_type: 'approle'
       auth_config:
         cluster_url: 'https://vault.example.com:8200'
         role_id: '11111111-2222-3333-4444-555555555555'
         secret_id: 'my-approle-secret-id'
         mount_path: 'secret'
   ```

   See [HashiCorp Vault secrets vault](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/hashicorp-vault.md) for the full setup, including AppRole and policy configuration.

   **Filesystem (Kubernetes Secrets):**

   ```yaml
   vaults:
     - name: 'Kubernetes Secrets'
       vault_provider: 'filesystem'
       auth_type: 'none'
       auth_config:
         mount_path: '/etc/veza/filesystem-vault'
         mode: 'directory'
   ```

   See [Filesystem secrets vault (Kubernetes Secrets)](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/kubernetes-secrets.md) for the full setup, including how to mount Secrets on the Insight Point.
2. Set the environment variable for the configuration file path.

   Export the path to your secrets vault configuration file:

   ```bash
   export SECRETS_VAULTS_CONFIG_PATH="/dir1/dir2/dir3/secrets_vaults_config.yaml"
   ```

   The Insight Point will monitor the file for changes. The file can be updated without requiring an Insight Point restart. The Insight Point skips a vault entry that fails validation, logs `Invalid secrets vault configuration` with the reasons, and registers the remaining entries. If the file is missing or isn't valid YAML, the Insight Point stops with `Failed to set up vault secrets` at startup or `Failed syncing vault secrets` after a change.
3. Restart your external insight point.

   The insight point will read the vault configuration on startup and establish connectivity to your vault. You can define multiple `vaults` entries, including different provider types, in the same configuration file.

The rest of this section, and [Create external secrets in Azure Key Vault](#create-external-secrets-in-azure-key-vault) below, cover Azure Key Vault specifically. For HashiCorp Vault or the filesystem provider, follow the setup and secret creation steps in the [HashiCorp Vault](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/hashicorp-vault.md) or [filesystem](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/kubernetes-secrets.md) guide instead, then continue at [Configure provider with secrets vault](#configure-provider-with-secrets-vault). The per-integration JSON field names are the same regardless of which vault provider stores them.

### Set up Azure AD application

To allow Veza's Insight Point to authenticate with Azure Key Vault, create an application registration in Azure Active Directory:

1. Navigate to **Azure Active Directory** > **App registrations** in the Azure portal.
2. Click **New registration**.
3. Name the application (e.g., "Veza Secrets Vault Access").
4. Select appropriate supported account types (usually single tenant).
5. Click **Register**.
6. Note the **Application (client) ID** and **Directory (tenant) ID** for your configuration.
7. Navigate to **Certificates & secrets**.
8. Create a new client secret and note the value.

   This value will only be shown once, so copy it immediately.
9. Navigate to your Azure Key Vault resource.
10. Under **Access policies**, add a policy for your new application with **Get** and **List** permissions for secrets.

## Create external secrets in Azure Key Vault

1. Navigate to your Azure Key Vault in the Azure portal.
2. Create a new secret for your integration credentials.

   Select **Secrets** from the left navigation, then click **Generate/Import**.
3. Enter the secret name and value.

   The secret name will serve as the identifier for the credentials in Veza. The secret value must be a JSON object containing all required credential fields for your integration type.
4. Format the secret value according to your integration type.

   **Active Directory:**

   ```json
   {
     "username": "domain\\serviceaccount",
     "password": "secretpassword",
     "ldaps_certificate": "base64encodedpemcertificate"
   }
   ```

   The `ldaps_certificate` field is required. Base64-encode the PEM certificate, including its BEGIN and END lines.

   **Azure:**

   ```json
   {
     "client_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
     "client_secret": "secretclientvalue",
     "auth_certificate": "base64encodedcertificatedata",
     "auth_certificate_password": "certpassword"
   }
   ```

   Note: The `auth_certificate_password` field is optional if the certificate is not secured with a password.

   **Okta (OAuth):**

   ```json
   {
     "client_id": "0oa1a2b3c4d5e6f7g8h9",
     "private_key_id": "kid_value",
     "private_key": "-----BEGIN PRIVATE KEY-----\nMIIE...\n-----END PRIVATE KEY-----"
   }
   ```

   **Okta (API Token):**

   ```json
   {
     "token": "00A1b2C3d4E5f6G7h8I9j0K1l2M3n4O5p6Q7r8S9"
   }
   ```

   **LDAP:**

   ```json
   {
     "bind_dn_or_user": "cn=serviceaccount,ou=service,dc=example,dc=com",
     "bind_password": "secretpassword",
     "ca_certificate": "base64encodedpemcertificate"
   }
   ```

   The `ca_certificate` field is optional. When you include it, base64-encode the PEM certificate, including its BEGIN and END lines.

   **AWS (access keys):**

   ```json
   {
     "access_key_id": "accesskeyid",
     "secret_key": "secretaccesskey"
   }
   ```

   **AWS (assume role):**

   ```json
   {
     "assume_role_external_id": "externalidvalue"
   }
   ```

   For an assume-role integration, only the External ID comes from the vault. The role name stays on the integration form.

   **Azure DevOps (service principal):**

   ```json
   {
     "client_secret": "secretclientvalue"
   }
   ```

   **Azure DevOps (personal access token):**

   ```json
   {
     "personal_access_token": "azuredevopspat"
   }
   ```

   Only the client secret or personal access token comes from the vault. The organization URL, directory (tenant) ID, application (client) ID, and authentication method stay on the integration form.

   **GitHub:**

   ```json
   {
     "private_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIE...\n-----END RSA PRIVATE KEY-----",
     "access_token": "githubaccesstoken"
   }
   ```

   Store the GitHub App private key as PEM text. The vault value does not need the base64 encoding that the `private_key` field requires in an API request. The `access_token` field is required for provisioning.

   **GitLab:**

   ```json
   {
     "access_token": "gitlabaccesstoken"
   }
   ```

   **Google Cloud:**

   ```json
   {
     "credentials_json": "{\"type\": \"service_account\", \"project_id\": \"example-project\", \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIE...\\n-----END PRIVATE KEY-----\\n\", \"client_email\": \"veza@example-project.iam.gserviceaccount.com\"}"
   }
   ```

   The `credentials_json` value is the content of the service account key file, stored as one JSON-escaped string. A nested JSON object fails with `field 'credentials_json' does not support nested secrets`. When the key comes from a vault, Veza cannot read the service account email, so the [Check Google Cloud permissions](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/integrations/google/check-google-cloud-permissions.md) API does not run.

   **HashiCorp Vault (integration):**

   ```json
   {
     "auth_secret_id": "approlesecretid"
   }
   ```

   This secret holds the AppRole secret ID that the HashiCorp Vault integration uses to read the Vault cluster it extracts from. The role ID stays on the integration form.

   **Salesforce:**

   ```json
   {
     "auth_certificate": "-----BEGIN PRIVATE KEY-----\nMIIE...\n-----END PRIVATE KEY-----",
     "auth_certificate_password": "keypassphrase"
   }
   ```

   The `auth_certificate` field holds the RSA private key for the Salesforce app, as PEM text. The `auth_certificate_password` field is needed only when the private key is encrypted.

   **ServiceNow (Basic authentication):**

   ```json
   {
     "username": "veza_integration",
     "password": "secretpassword"
   }
   ```

   **ServiceNow (OAuth 2.0):**

   ```json
   {
     "oauth.client_id": "oauthclientid",
     "oauth.client_secret": "oauthclientsecret",
     "oauth.user_identifier": "veza_integration",
     "oauth.private_key": "-----BEGIN PRIVATE KEY-----\nMIIE...\n-----END PRIVATE KEY-----",
     "oauth.key_password": "keypassphrase"
   }
   ```

   Use the dotted key names shown. A nested `oauth` object with the same keys also works in a JSON secret. Include `oauth.key_password` only when the private key is encrypted: a password with an unencrypted key fails. The `oauth.private_key` value can be PEM text or base64-encoded PEM.

   **UiPath:**

   ```json
   {
     "client_secret": "uipathclientsecret"
   }
   ```

   **UKGPro:**

   ```json
   {
     "user_name": "veza_service_account",
     "password": "secretpassword"
   }
   ```

   Only the service account user name and password come from the vault. The customer API key, user API key, service URL, and report ID stay on the integration form.

   **Zendesk (API Token):**

   ```json
   {
     "username": "veza@example.com",
     "api_key": "zendeskapitoken"
   }
   ```

   **Zendesk (OAuth Client Credentials):**

   ```json
   {
     "client_id": "zendeskclientid",
     "client_secret": "zendeskclientsecret"
   }
   ```

   The secret holds the fields for the **Authentication Method** selected on the Zendesk integration form.

   Include every vault-eligible field the integration uses. When an integration reads its credentials from a vault, Veza clears any values saved earlier for those fields. A field missing from the secret stays empty instead of reusing an old value, so the connection fails if the integration needs that field.
5. Save the secret.

   Azure Key Vault will generate a unique identifier for the secret that you'll reference when configuring your Veza integration.

## Configure provider with secrets vault

1. Navigate to the Veza integrations page.
2. Create a new integration for your supported provider type.

   For the integrations that support secrets vaults, see [Current limitations](#current-limitations).
3. Select your external insight point.

   Choose the insight point where you configured the vault credentials.
4. Enable secrets vault authentication.

   If the selected Insight Point has vault access configured, the form displays a **Secrets Vault** selection. **Veza Vault**, the default option, stores the credentials you enter on the integration form in Veza, encrypted with the public key of the selected Insight Point. **External Secrets Vault** stores only a reference to the secret, and the Insight Point retrieves the credential from your vault. Select **External Secrets Vault**.
5. Configure the vault settings.

   * **External Vault:** Select your vault by the `name` in the Insight Point's vault configuration (for example, "MyVault").
   * Enter the identifier of the secret in your vault. The field label depends on the vault provider:
     * **Azure Secret Name:** the Azure Key Vault secret name. See [Create external secrets in Azure Key Vault](#create-external-secrets-in-azure-key-vault).
     * **Secret Path:** for HashiCorp Vault, the KV v2 path under the mount. See [Create secrets in HashiCorp Vault](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/hashicorp-vault.md#create-secrets-in-hashicorp-vault).
     * **Secret Path:** for the filesystem provider, the Secret's directory name or file name under the vault's mount path. See [How the provider finds a secret](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/kubernetes-secrets.md#how-the-provider-finds-a-secret).

   Standard credential fields (username, password, etc.) will be hidden when the secrets vault is enabled.
6. Complete the provider configuration and save.

   The Insight Point reads the credentials from the vault and validates them when you save. If they do not work, the save fails with an error.
7. Test the connection.

   Initiate a discovery and extraction run to verify that secrets are being fetched correctly from your vault and that the provider connects successfully to the target system.

![Active Directory setup using external secrets vault](https://1967633068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZDkWMxox3pekd0NsZJ%2Fuploads%2Fgit-blob-f96f6ed0b6c3952406475a9a02161ef0607e3e41%2Fsecrets-vault-integration-configuration.png?alt=media)

To attach secrets through the API instead of the UI, including data-source-level references for integrations like Anthropic Claude Managed Agents, see [Using secret references via API](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/secret-references-api.md).

## Verification and troubleshooting

After configuring the provider with Secrets Vault:

1. Check the extraction logs to ensure the secrets are being fetched correctly from your vault.
2. Verify that the provider connects successfully to the target system.
3. If connection fails, verify:
   * Your vault's access controls are correctly configured (Azure Key Vault access policies/RBAC, HashiCorp Vault AppRole policy, or Kubernetes RBAC on the Secret)
   * The secret JSON format matches the expected structure for your integration type
   * Network connectivity exists between the Insight Point and your vault. For the filesystem provider, check that each Secret is mounted where the vault's `mount_path` expects it.
   * The vault configuration file path is set correctly on the Insight Point

For errors specific to one provider, see the troubleshooting section of the [HashiCorp Vault](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/hashicorp-vault.md#troubleshooting) or [filesystem](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/kubernetes-secrets.md#troubleshooting) guide.

## See also

* [Using secret references via API](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/secret-references-api.md)
* [Azure Key Vault configuration reference](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/azure-key-vault.md)
* [HashiCorp Vault secrets vault](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/hashicorp-vault.md)
* [Filesystem secrets vault (Kubernetes Secrets)](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults/kubernetes-secrets.md)
* [Insight Point deployment guide](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/insight-point.md)
* [Active Directory integration](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/integrations/active-directory.md)
* [Azure integration](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/integrations/azure.md)
* [Okta integration](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/integrations/okta.md)
* [Azure Key Vault documentation](https://docs.microsoft.com/en-us/azure/key-vault/)
* [HashiCorp Vault documentation](https://developer.hashicorp.com/vault/docs)
* [Kubernetes Secrets documentation](https://kubernetes.io/docs/concepts/configuration/secret/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.veza.com/4yItIzMvkpAvMVFAamTf/integrations/connectivity/secrets-vaults.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
