Skip to content

Conversation

@ardrigh
Copy link
Contributor

@ardrigh ardrigh commented Dec 28, 2024

Update to use AWS env vars, replace duplicated entries.

AWS_SECRET_ACCESS_KEY the secret paired to Access Key IDs

AWS_SESSION_TOKEN the secret session token for STS sessions

AWS Access Keys should be caught by the test above for "AKIA[0-9A-Z]{16}" though this might also be updated to use a matching format with these two entries (including the env var name).

Relates to #2174

AWS documentation: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

Update to use AWS env vars as documented, replace duplicated entries

AWS_SECRET_ACCESS_KEY the secret paired to Access Key IDs

AWS_SESSION_TOKEN the secret session token for STS sessions
@ardrigh
Copy link
Contributor Author

ardrigh commented Dec 28, 2024

With the v18.4 these secrets appear in the history

image

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice fix! thank you

@ellie ellie merged commit f40fb17 into atuinsh:main Dec 29, 2024
19 checks passed
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.

2 participants