Skip to content

Commit

Permalink
docs: Update argument for Credentials initialization (#1557)
Browse files Browse the repository at this point in the history
Credentials expects `aws_security_credentials_supplier`, not `aws_security_token_supplier`
  • Loading branch information
ureyes84 committed Jul 17, 2024
1 parent dc17dfc commit 40b9ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ can be used to make HTTP requests.::
credentials = aws.Credentials(
AUDIENCE, # Set GCP Audience.
"urn:ietf:params:aws:token-type:aws4_request", # Set AWS subject token type.
aws_security_token_supplier=supplier, # Set supplier.
aws_security_credentials_supplier=supplier, # Set supplier.
scopes=SCOPES # Set desired scopes.
)

Expand Down

0 comments on commit 40b9ed9

Please sign in to comment.