After rebuilding the cluster, every SealedSecret fails with `no key could decrypt secret`
IntermediateTroubleshootingSecrets management: Vault, External Secrets and SOPS
Answer
Likely causes → The new sealed-secrets controller generated a fresh key pair. The old private key that sealed the Git contents was lost with the old cluster.
Diagnose →
kubectl logs -n kube-system deploy/sealed-secrets-controller | grep -i decrypt
kubectl get secret -n kube-system -l sealedsecrets.bitnami.com/sealed-secrets-key
Fix → Restore the old key secrets from backup into kube-system and restart the controller. With no backup, you have to re-seal every secret from the source values with kubeseal --fetch-cert against the new controller.
Prevent → Back up the controller keys right after install and after each key renewal:
kubectl get secret -n kube-system -l sealedsecrets.bitnami.com/sealed-secrets-key -o yaml > sealed-keys.yaml
Store that file encrypted in a secret manager, never in Git.
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/*`BeginnerVault pod restarted and `vault status` shows `Sealed: true`; every app now fails to fetch secretsBeginnerPod 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`Intermediate