Vault pod restarted and `vault status` shows `Sealed: true`; every app now fails to fetch secrets
BeginnerTroubleshootingSecrets management: Vault, External Secrets and SOPS
Answer
Likely causes → Vault was set up with Shamir unseal keys, so every restart needs manual unsealing. Or auto-unseal is configured but the KMS key or Vault's IAM permission for it is gone.
Diagnose →
kubectl exec -n vault vault-0 -- vault status # Seal Type: shamir / awskms
kubectl logs -n vault vault-0 | grep -i -E "seal|kms"
Fix → Short term: vault operator unseal with the quorum of key holders on each pod. Long term: switch to auto-unseal (seal "awskms", gcpckms, azurekeyvault or transit) using vault operator unseal -migrate.
Prevent → In production we always use auto-unseal, run 3 or 5 Raft nodes across zones, and alert on vault_core_unsealed == 0.
More on Secrets management: Vault, External Secrets and SOPS
`vault kv get secret/app/db` returns `Code: 403. Errors: * permission denied` although the policy allows `secret/app/*`BeginnerPod stuck in `Init:0/1`; the `vault-agent-init` container logs `error authenticating: ... Code: 403 ... * permission denied`IntermediateAfter a cluster upgrade, Vault Kubernetes auth fails for every pod with `error validating token: invalid issuer (iss) claim`AdvancedPods annotated with `vault.hashicorp.com/agent-inject: true` start without a Vault sidecar, and the app fails on a missing fileBeginnerExternalSecret shows `SecretSyncedError` with `AccessDeniedException: ... is not authorized to perform: secretsmanager:GetSecretValue`IntermediateExternalSecret reports `could not get provider client: SecretStore "aws-sm" is not ready` or `SecretStore.external-secrets.io "aws-sm" not found`Beginner