Skip to content

Commit 0a0748e

Browse files
committed
Add a documentation note about AWS_PROFILE
This environment variable is supported when accessing S3, so note that in the documentation. Signed-off-by: Len Trigg <[email protected]>
1 parent ac71280 commit 0a0748e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/amazons3.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ If the access credentials are not found in the above file, Nextflow looks for AW
4646
1. The `nextflow.config` file in the pipeline execution directory
4747
2. The environment variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`
4848
3. The environment variables `AWS_ACCESS_KEY` and `AWS_SECRET_KEY`
49-
4. The `default` profile in the AWS credentials file located at `~/.aws/credentials`
50-
5. The `default` profile in the AWS client configuration file located at `~/.aws/config`
49+
4. The profile in the AWS credentials file located at `~/.aws/credentials`
50+
- Uses the `default `profile or the environment variable `AWS_PROFILE` if set
51+
5. The profile in the AWS client configuration file located at `~/.aws/config`
52+
- Uses the `default `profile or the environment variable `AWS_PROFILE` if set
5153
6. The temporary AWS credentials provided by an IAM instance role. See [IAM Roles](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) documentation for details.
5254

5355
More information regarding [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html) are available in the AWS documentation.

0 commit comments

Comments
 (0)