Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a check for empty access key ID when caching #632

Merged
merged 1 commit into from Apr 8, 2024

Conversation

chrnorm
Copy link
Contributor

@chrnorm chrnorm commented Apr 6, 2024

What changed?

adds a check to prevent caching credentials if the access key is empty

Why?

prevents an issue where if the granted credential-process returned an empty JSON, Granted would cache it and require manually clearing the cache.

How did you test it?

testing the granted credential-process integration. To reproduce, add a credential process which returns a JSON with an empty access key ID. The previous behaviour is that Granted will cache this, which causes the AWS CLI to stop working.

Potential risks

Low risk as the access key should never be empty.

Is patch release candidate?

Yes

Link to relevant docs PRs

prevents an issue where if the granted credential-process returned an empty JSON, Granted would cache it and require manually clearing the cache.
@chrnorm chrnorm merged commit 9418e2c into main Apr 8, 2024
3 checks passed
@chrnorm chrnorm deleted the add-check-for-empty-access-key-id branch April 8, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants