Skip to main content

Hashicorp Vault

note

Hashicorp Vault is being deprecated. The Otomi Secrets feature is soon going to be based on SealedSecrets.

HashiCorp Vault is a shared application for securely storing and managing secrets. Read more about Vault here. Vault has been made tenant aware in Otomi. When it is enabled, a space will automatically be created for each team, and only team members are allowed access. Vault is automatically configured to use Otomi's Keycloak OIDC settings to login users through Otomi's SSO.

Vault (like all parts of Otomi) runs natively on Kubernetes. To prevent data from Vault being lost during a rolling cluster upgrade, data persistence can be configured in combination with external (blob) storage. Read more here for configuring external data persistence.

Instructions

Sign in with full access

If you would like to sign in into Vault with full access (and not with limited access provided by Otomi), you need to:

  1. Get the token
kubectl get secret -n vault vault-unseal-keys -o jsonpath='{.data.vault-root}' | base64 -d | pbcopy
  1. Open Vault and sign in with method token

  2. Paste the token generated in step 1.