Documentation · Administration · Set up

Secret stores

Credential values never go into Credvane's database. They live in a secret store: one for Credvane itself, set by the operator, and one for your organization's values, chosen by an admin.

Two stores, two owners

Platform storeOrganization store
HoldsCredvane's own secrets (the fingerprint key, sign-in and store credentials), and by default your values tooYour organization's credential values
Set byThe operator, in the environment, at startAn admin, in Settings → Secret store
DefaultNone: it must be configuredThe platform store, under its own path

Supported stores

StorePlatform typeSign-in
OpenBaobaoToken or AppRole
HashiCorp Vault (also Enterprise and HCP)vaultToken or AppRole, with a namespace
AWS Secrets ManagerawsThe default credential chain (IAM role, EKS, instance profile) or an access key
Azure Key VaultazureManaged or workload identity, or a service principal
Google Secret ManagergcpApplication Default Credentials or a service account key

How each store is tested is on verified and roadmap.

Configure the platform store

Set CREDVANE_SECRET_STORE_PLATFORM_TYPE and the store's fields as CREDVANE_SECRET_STORE_*. For OpenBao or Vault with a token:

CREDVANE_SECRET_STORE_PLATFORM_TYPE=vault
CREDVANE_SECRET_STORE_ADDRESS=https://vault.example.com
CREDVANE_SECRET_STORE_TOKEN=<token>
CREDVANE_SECRET_STORE_MOUNT=secret        # KV v2 mount, default secret
CREDVANE_SECRET_STORE_PREFIX=credvane    # path prefix, default credvane

For AWS with the role the container runs as:

CREDVANE_SECRET_STORE_PLATFORM_TYPE=aws
CREDVANE_SECRET_STORE_REGION=eu-west-1

On start, Credvane writes, reads back and deletes a test value, and refuses to start if that fails.

Choose your organization's store

In the web app, Settings → Secret store: pick a kind and fill in its fields. Credvane checks it can write, read and delete before saving. Any secret part (a token, a key) is kept in the platform store, never in the database. Once the store holds values it is locked against changes.