Unverified Commit abd28bc7 authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

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._
parent 12cf9160
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"

[[package]]
name = "aws-config"
version = "1.5.6"
version = "1.5.8"
dependencies = [
 "aws-credential-types",
 "aws-runtime",
@@ -298,7 +298,7 @@ dependencies = [

[[package]]
name = "aws-smithy-types"
version = "1.2.6"
version = "1.2.7"
dependencies = [
 "base64-simd",
 "bytes",
+1 −1
Original line number Diff line number Diff line
[package]
name = "aws-config"
version = "1.5.7"
version = "1.5.8"
authors = [
    "AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
    "Russell Cohen <rcoh@amazon.com>",
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
//! WebIdentityTokenCredentialProvider will load the following environment variables:
//! - `AWS_WEB_IDENTITY_TOKEN_FILE`: **required**, location to find the token file containing a JWT token
//! - `AWS_ROLE_ARN`: **required**, role ARN to assume
//! - `AWS_IAM_ROLE_SESSION_NAME`: **optional**: Session name to use when assuming the role
//! - `AWS_ROLE_SESSION_NAME`: **optional**: Session name to use when assuming the role
//!
//! ## AWS Profile Configuration
//! _Note: Configuration of the web identity token provider via a shared profile is only supported