Discover KV secrets from HashiCorp Vault. Populates the secrets inventory with path names, version metadata, and rotation timestamps. Secret values are never read.
Source connector — pulls identity and access data from HashiCorp Vault into ComplianceScout where it is scored against your compliance frameworks and violation rules.
After a successful sync, the following data is available in your ComplianceScout dashboard for violation detection and reporting.
These fields are collected when you add the connector in the ComplianceScout dashboard. Secrets are encrypted at rest using AES-256-GCM and are never logged.
| Field | Type | Required | Notes |
|---|---|---|---|
| Vault address | URL | Required | Must use https://. e.g. https://vault.acme.com:8200 |
| Auth method | Text | Required | Enter "token" for a static token, or "approle" for AppRole auth. |
| Vault token | Secret | Optional | Required when authMethod is "token". The token must have list+read on your KV mount(s). |
| AppRole role ID | Text | Optional | Required when authMethod is "approle". |
| AppRole secret ID | Secret | Optional | Required when authMethod is "approle". |
| KV mount paths | Text | Optional | Comma-separated list of KV mount names to scan. Defaults to "secret". e.g. secret,kv,infra |
Follow these steps to gather the credentials above and connect HashiCorp Vault to ComplianceScout.
In your Vault cluster, create a policy that allows list and read access on your KV mounts: vault policy write compliancescout-policy - (then enter the policy HCL).
For token auth: vault token create -policy=compliancescout-policy -ttl=8760h. Copy the token.
For AppRole auth: vault auth enable approle; vault write auth/approle/role/compliancescout policies=compliancescout-policy; vault read auth/approle/role/compliancescout/role-id; vault write -f auth/approle/role/compliancescout/secret-id.
In ComplianceScout, go to Data & Secrets → Integrations → Add Connector → HashiCorp Vault, enter the Vault address and auth credentials.
Specify the KV mount paths to scan (comma-separated) and click Test and Save.
Start a free trial — your tenant is provisioned instantly and you can wire up this integration from the connectors page.