Skip to content

Commit 40b9ed9

Browse files
authoredJul 17, 2024··
docs: Update argument for Credentials initialization (#1557)
Credentials expects `aws_security_credentials_supplier`, not `aws_security_token_supplier`
1 parent dc17dfc commit 40b9ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/user-guide.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ can be used to make HTTP requests.::
578578
credentials = aws.Credentials(
579579
AUDIENCE, # Set GCP Audience.
580580
"urn:ietf:params:aws:token-type:aws4_request", # Set AWS subject token type.
581-
aws_security_token_supplier=supplier, # Set supplier.
581+
aws_security_credentials_supplier=supplier, # Set supplier.
582582
scopes=SCOPES # Set desired scopes.
583583
)
584584

0 commit comments

Comments
 (0)
Please sign in to comment.