Skip to content

Commit

Permalink
/vsis3/: advertize AWS_PROFILE in options
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 28, 2025
1 parent 5c12fb8 commit 4d2e653
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion port/cpl_vsil_s3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1929,9 +1929,13 @@ const char *VSIS3FSHandler::GetOptions()
"to "
"determine if current host is an AWS EC2 instance' "
"default='YES'/>"
" <Option name='AWS_DEFAULT_PROFILE' type='string' "
" <Option name='AWS_PROFILE' type='string' "
"description='Name of the profile to use for IAM credentials "
"retrieval on EC2 instances' default='default'/>"
" <Option name='AWS_DEFAULT_PROFILE' type='string' "
"description='(deprecated) Name of the profile to use for "
"IAM credentials "
"retrieval on EC2 instances' default='default'/>"
" <Option name='AWS_CONFIG_FILE' type='string' "
"description='Filename that contains AWS configuration' "
"default='~/.aws/config'/>"
Expand Down

0 comments on commit 4d2e653

Please sign in to comment.