Skip to content

Warn on credentials file permissions#10337

Closed
kdaily wants to merge 1 commit into
developfrom
feature/credentials-file-permissions-v1
Closed

Warn on credentials file permissions#10337
kdaily wants to merge 1 commit 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.

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 marked this pull request as draft May 21, 2026 21:58
@kdaily kdaily closed this May 21, 2026
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