Skip to content

24.8 Avoid leaking AWS secrets via logs - #691

Closed
Enmk wants to merge 2 commits into
releases/24.8.14from
packager_fix_credentials_leak
Closed

Enmk wants to merge 2 commits into
releases/24.8.14from
packager_fix_credentials_leak

Conversation

@Enmk

@Enmk Enmk commented Mar 19, 2025

Copy link
Copy Markdown

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Performance tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All with Aarch64

Using credentials file instead of environment
@MyroTk

MyroTk commented Mar 19, 2025

Copy link
Copy Markdown
Collaborator

We can remove the credentials from the function inputs

s3_access_key_id: str,

s3_secret_access_key: str,

and then the commented out ones as well
"", #args.s3_access_key_id,

"", #args.s3_secret_access_key,

@Enmk

Enmk commented Mar 19, 2025 •

Copy link
Copy Markdown
Author

We can remove the credentials from the function inputs

My motivation was to stick as close to upstream as possible to avoid merge conflicts down the road, when we are going to port that to the other versions...

@MyroTk

MyroTk commented Mar 19, 2025

Copy link
Copy Markdown
Collaborator

Actually removing them would be closer to upstream - for example, 24.8 doesn't have them https://github.com/ClickHouse/ClickHouse/blob/24.8/docker/packager/packager . Same with master

@Enmk

Enmk commented Mar 25, 2025

Copy link
Copy Markdown
Author

Continued in #693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants