Skip to main content

Secrets Creation in Hashcorp Vault

Hashcorp vault is the inbuilt feature of K8s to store secrets. Below are the simple steps to create the secrets in the vault.

  1. Login to to vault uisng the ADM Account.

https://vault.maersk-digital.net/ui/vault/secrets

  1. Navigate to the namespace folder specific to the application.

  2. Navigate to the below Path

opsmdm-kv/list/readable/app/cdt/westeurope/database/

  1. Select the Create Secret in the right Corner

  2. Enter the Key and Vaule then save it

  3. The Path of the created secret should be entered in the Flux repo. Then these values will be fetched during the deployments and application startup.

https://github.com/Maersk-Global/smds-opsmdm-infra-flux/blob/main/data/cdt/gda-np-ne-01/overlays/external-secrets/secrets.yml

Was this page helpful?