feat: expose run id in STS client user-agent (#1774)

* feat: expose run id in STS client user-agent

Closes #483.
This commit modifies the user-agent string so that it includes the
GITHUB_RUN_ID and the GITHUB_RUN_ATTEMPT, in the format typically used
by the SDK. User agent strings are logged to CloudTrail, allowing users
to correlate CloudTrail events with GHA runs. We took this approach
instead of logging the ACCESS_KEY_ID as suggested in the issue to avoid
logging sensitive information.

* feat: add github_action to ua string
This commit is contained in:
Tom Keller
2026-05-12 16:18:34 -07:00
committed by GitHub
parent ef734cca81
commit 29d1be3027
5 changed files with 5877 additions and 10943 deletions
Generated Vendored
+5763 -10921
View File
File diff suppressed because it is too large Load Diff