Repro steps:
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 123456789.dkr.ecr.us-east-1.amazonaws.com
- Rotate your gpg key
- Re-store the login cred with the same command as step 1
Expected result:
The creds are stored successfully
Actual result:
The old credentials can't be decrypted, so the credential helper fails with gpg: decryption failed: No secret key
Repro steps:
Expected result:
The creds are stored successfully
Actual result:
The old credentials can't be decrypted, so the credential helper fails with
gpg: decryption failed: No secret key