mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
use the correct configuration to test for external id (#19404)
This commit is contained in:
parent
72827bc3ad
commit
d4a639414e
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ func newS3store(config config.S3Config) (*s3store, error) {
|
|||
// Assume role if configured
|
||||
if config.StsAssumeRoleArn != "" {
|
||||
creds := stscreds.NewCredentials(sess, config.StsAssumeRoleArn, func(provider *stscreds.AssumeRoleProvider) {
|
||||
if config.StsAssumeRoleArn != "" {
|
||||
if config.StsExternalID != "" {
|
||||
provider.ExternalID = &config.StsExternalID
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue