Skip to content

Commit 8a60429

Browse files
committed
HADOOP-16735. Make it clearer in config default that EnvironmentVariableCredentialsProvider supports AWS_SESSION_TOKEN. Contributed by Mingliang Liu
This closes #1733
1 parent dcb0454 commit 8a60429

File tree

2 files changed

+4
-4
lines changed
  • hadoop-common-project/hadoop-common/src/main/resources
  • hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws

2 files changed

+4
-4
lines changed

hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,8 +1024,8 @@
10241024
Uses the values of fs.s3a.access.key and fs.s3a.secret.key.
10251025
2. com.amazonaws.auth.EnvironmentVariableCredentialsProvider: supports
10261026
configuration of AWS access key ID and secret access key in
1027-
environment variables named AWS_ACCESS_KEY_ID and
1028-
AWS_SECRET_ACCESS_KEY, as documented in the AWS SDK.
1027+
environment variables named AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
1028+
and AWS_SESSION_TOKEN as documented in the AWS SDK.
10291029
3. com.amazonaws.auth.InstanceProfileCredentialsProvider: supports use
10301030
of instance profile credentials if running in an EC2 VM.
10311031
</description>

hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ a warning has been printed since Hadoop 2.8 whenever such a URL was used.
289289
Uses the values of fs.s3a.access.key and fs.s3a.secret.key.
290290
2. com.amazonaws.auth.EnvironmentVariableCredentialsProvider: supports
291291
configuration of AWS access key ID and secret access key in
292-
environment variables named AWS_ACCESS_KEY_ID and
293-
AWS_SECRET_ACCESS_KEY, as documented in the AWS SDK.
292+
environment variables named AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
293+
and AWS_SESSION_TOKEN as documented in the AWS SDK.
294294
3. com.amazonaws.auth.InstanceProfileCredentialsProvider: supports use
295295
of instance profile credentials if running in an EC2 VM.
296296
</description>

0 commit comments

Comments
 (0)