Skip to content

Warn on credentials file permissions#10336

Closed
kdaily wants to merge 2 commits into
developfrom
feature/credentials-file-permissions-v1
Closed

Warn on credentials file permissions#10336
kdaily wants to merge 2 commits into
developfrom
feature/credentials-file-permissions-v1

Conversation

@kdaily
Copy link
Copy Markdown
Member

@kdaily kdaily commented May 21, 2026

Issue #, if available:

#10019

Description of changes:

Users running the following commands now see a warning if the credentials file has permissions beyond the default of 0o600.

  • aws configure set (if setting access key,secret key, or token)
  • aws configure (if setting access key,secret key, or token)

Developers can now specify a credential check in the ConfigFileWriter.update_config method.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

kdaily added 2 commits May 21, 2026 13:49
Users running the following commands now see a warning if the
credentials file has permissions beyond the default of 0o600.

- `aws configure set` (if setting access key,secret key, or token)
- `aws configure` (if setting access key,secret key, or token)

Developers can now specify a credential check in the
`ConfigFileWriter.update_config` method.
@kdaily kdaily requested a review from AndrewAsseily May 21, 2026 21:00
@kdaily kdaily changed the title Feature/credentials file permissions v1 Warn on credentials file permissions May 21, 2026
@kdaily kdaily marked this pull request as draft May 21, 2026 21:25
@kdaily kdaily closed this May 21, 2026
@kdaily kdaily deleted the feature/credentials-file-permissions-v1 branch May 21, 2026 21:42
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.

1 participant