You added a teammate's age key to `.sops.yaml`, but they still cannot decrypt the existing files
IntermediateTroubleshootingSecrets management: Vault, External Secrets and SOPS
Answer
Likely causes → .sops.yaml creation rules only apply when a file is encrypted. Existing files keep the data key wrapped for the old recipients.
Diagnose → yq '.sops.age[].recipient' file.enc.yaml does not list the new key.
Fix → Someone who can decrypt re-wraps the data key:
find . -name '*.enc.yaml' -exec sops updatekeys -y {} \;
git commit -am "sops: add recipient for new team member"
When someone leaves, updatekeys is not enough because they may already hold the data key. Run sops rotate -i and rotate the actual secret values too.
Prevent → Make recipient changes PR-driven with a script that runs updatekeys across the repo.
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