Skip to content

Commit abd28bc

Browse files
authored
Use correct env var name in a doc comment for Assume Role session name (#3854)
## Motivation and Context The correct environment variable name for Assume Role session name is `AWS_ROLE_SESSION_NAME`. We do use the correct name throughout the codebase except for a doc comment. This PR will fix it. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 12cf916 commit abd28bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

aws/rust-runtime/aws-config/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/rust-runtime/aws-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-config"
3-
version = "1.5.7"
3+
version = "1.5.8"
44
authors = [
55
"AWS Rust SDK Team <[email protected]>",
66
"Russell Cohen <[email protected]>",

aws/rust-runtime/aws-config/src/web_identity_token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//! WebIdentityTokenCredentialProvider will load the following environment variables:
2020
//! - `AWS_WEB_IDENTITY_TOKEN_FILE`: **required**, location to find the token file containing a JWT token
2121
//! - `AWS_ROLE_ARN`: **required**, role ARN to assume
22-
//! - `AWS_IAM_ROLE_SESSION_NAME`: **optional**: Session name to use when assuming the role
22+
//! - `AWS_ROLE_SESSION_NAME`: **optional**: Session name to use when assuming the role
2323
//!
2424
//! ## AWS Profile Configuration
2525
//! _Note: Configuration of the web identity token provider via a shared profile is only supported

0 commit comments

Comments
 (0)