Skip to content

Explicitly set 0600 permissions on SSO/login cache files#3373

Merged
richardwang1124 merged 3 commits intoversion-3from
fix/harden-cache-file-permissions
Apr 17, 2026
Merged

Explicitly set 0600 permissions on SSO/login cache files#3373
richardwang1124 merged 3 commits intoversion-3from
fix/harden-cache-file-permissions

Conversation

@richardwang1124
Copy link
Copy Markdown
Collaborator

Add explicit chmod to ensure correct permissions on SSO and login cache files regardless of how the file was originally created.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

  1. To make sure we include your contribution in the release notes, please make sure to add description entry for your changes in the "unreleased changes" section of the CHANGELOG.md file (at corresponding gem). For the description entry, please make sure it lives in one line and starts with Feature or Issue in the correct format.

  2. For generated code changes, please checkout below instructions first:
    https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md

Thank you for your contribution!

Copy link
Copy Markdown
Collaborator

@jterapin jterapin left a comment

Choose a reason for hiding this comment

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

LGTM! 🚢✨

Comment thread gems/aws-sdk-core/spec/login_credentials_helper.rb Outdated
Co-authored-by: Juli Tera <57973151+jterapin@users.noreply.github.com>
@richardwang1124 richardwang1124 requested a review from a team as a code owner April 17, 2026 16:49
@richardwang1124 richardwang1124 merged commit 2813022 into version-3 Apr 17, 2026
32 checks passed
@richardwang1124 richardwang1124 deleted the fix/harden-cache-file-permissions branch April 17, 2026 16:56
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