You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,15 @@ config := map[string]string{
83
83
}
84
84
```
85
85
86
+
To use [AWS IAM credentials or AWS file](https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials), it is possible to set one of the following vars to "`true`": `aws_iam_credentials`, `aws_file`.
87
+
It is also possible to specify the IAM endpoint (`aws_file_profile`) or the path of the file to use (`aws_file_profile`), if not specified it will use the default endpoint and file ($HOME/.aws/credentials).
88
+
89
+
```go
90
+
config:=map[string]string{
91
+
"aws_file_profile": "true",
92
+
}
93
+
```
94
+
86
95
An example can be found [here](examples/s3/s3.go).
87
96
88
97
> :gem:[minio](https://docs.min.io/docs/minio-quickstart-guide.html) can be used for testing purposes
0 commit comments