Support AWS profile when specifying bucket storage credentials

This commit is contained in:
allegroai
2024-02-04 19:31:30 +02:00
parent 122b308646
commit 233f94f741
3 changed files with 48 additions and 16 deletions

View File

@@ -92,6 +92,8 @@ sdk {
# Specify explicit keys
key: ""
secret: ""
# Specify profile
profile: ""
# Or enable credentials chain to let Boto3 pick the right credentials.
# This includes picking credentials from environment variables,
# credential file and IAM role using metadata service.
@@ -103,6 +105,7 @@ sdk {
credentials: [
# specifies key/secret credentials to use when handling s3 urls (read or write)
# Note that all all fields in the global s3 config section are supported here
# {
# bucket: "my-bucket-name"
# key: "my-access-key"