Skip to content

Commit

Permalink
feat(client): update AWS secrets env var handling checks
Browse files Browse the repository at this point in the history
Update to use AWS env vars as documented, replace duplicated entries

AWS_SECRET_ACCESS_KEY the secret paired to Access Key IDs

AWS_SESSION_TOKEN the secret session token for STS sessions
  • Loading branch information
ardrigh committed Dec 28, 2024
1 parent dda6675 commit bb37014
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/atuin-client/src/secrets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ pub static SECRET_PATTERNS: &[(&str, &str, TestValue)] = &[
TestValue::Single("AKIAIOSFODNN7EXAMPLE"),
),
(
"AWS secret access key env var",
"AWS_ACCESS_KEY_ID",
TestValue::Single("export AWS_ACCESS_KEY_ID=KEYDATA"),
"AWS Secret Access Key env var",
"AWS_SECRET_ACCESS_KEY",
TestValue::Single("AWS_SECRET_ACCESS_KEY=KEYDATA"),
),
(
"AWS secret access key env var",
"AWS_ACCESS_KEY_ID",
TestValue::Single("export AWS_ACCESS_KEY_ID=KEYDATA"),
"AWS Session Token env var",
"AWS_SESSION_TOKEN",
TestValue::Single("AWS_SESSION_TOKEN=KEYDATA"),
),
(
"Microsoft Azure secret access key env var",
Expand Down

0 comments on commit bb37014

Please sign in to comment.