Skip to content

Commit

Permalink
respond to pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
grant-higgins-0 committed Dec 26, 2024
1 parent fe343a8 commit d87b412
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Add support for role based authentication in s3 backend.

## [6.24.0] - 2024-12-16
### Security
Expand Down
22 changes: 17 additions & 5 deletions docs/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ found:
1. RemoteCredProvider - default remote endpoints such as EC2 or ECS IAM Roles
1. EC2RoleProvider - credentials from the EC2 service, and keeps track if those credentials are expired

If the 'RoleARN' option is set for the filesystem then the backend will attempt to assume the given role granting the permissions associated with it. For more information regarding role based credentials:
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html

See the following for more auth info:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html and
https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html
Expand Down Expand Up @@ -451,11 +454,20 @@ Volume returns the bucket the location is contained in.

```go
type Options struct {
AccessKeyID string `json:"accessKeyId,omitempty"`
SecretAccessKey string `json:"secretAccessKey,omitempty"`
SessionToken string `json:"sessionToken,omitempty"`
Region string `json:"region,omitempty"`
Endpoint string `json:"endpoint,omitempty"`
AccessKeyID string `json:"accessKeyId,omitempty"`
SecretAccessKey string `json:"secretAccessKey,omitempty"`
SessionToken string `json:"sessionToken,omitempty"`
Region string `json:"region,omitempty"`
Endpoint string `json:"endpoint,omitempty"`
RoleARN string `json:"roleARN,omitempty"`
ACL string `json:"acl,omitempty"`
ForcePathStyle bool `json:"forcePathStyle,omitempty"`
DisableServerSideEncryption bool `json:"disableServerSideEncryption,omitempty"`
Retry request.Retryer
MaxRetries int
FileBufferSize int
DownloadPartitionSize int64
UploadPartitionSize int64
}
```

Expand Down

0 comments on commit d87b412

Please sign in to comment.