Skip to content

Commit

Permalink
Obey --use-assume flag to do cross-account assume role. (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer authored Oct 21, 2024
1 parent cd85acc commit c0fdb16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/baton-aws/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func getConnector(ctx context.Context, v *viper.Viper) (types.ConnectorServer, e
SCIMEndpoint: v.GetString(ScimEndpointField.FieldName),
SCIMToken: v.GetString(ScimTokenField.FieldName),
SCIMEnabled: v.GetBool(ScimEnabledField.FieldName),
UseAssumeRole: v.GetBool(UseAssumeField.FieldName),
}

cb, err := connector.New(ctx, config)
Expand Down

0 comments on commit c0fdb16

Please sign in to comment.