Skip to content

Commit 30096e7

Browse files
Add http_method to config document of SAMLCrossAccount
1 parent fb50150 commit 30096e7

File tree

1 file changed

+6
-0
lines changed
  • src/awsrun/plugins/creds

1 file changed

+6
-0
lines changed

src/awsrun/plugins/creds/aws.py

+6
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ class SAMLCrossAccount(AbstractCrossAccount):
465465
role: STRING*
466466
url: STRING*
467467
auth_type: ("basic" | "digest" | "ntlm")
468+
http_method: ("GET"| "POST")
468469
http_headers:
469470
STRING: STRING
470471
no_verify: BOOLEAN
@@ -510,6 +511,11 @@ class SAMLCrossAccount(AbstractCrossAccount):
510511
specified, it must be one of `basic`, `digest`, or `ntlm`. The default value
511512
is `basic`. If using NTLM, username should be specified as `domain\\username`.
512513
514+
`http_method`
515+
: The HTTP method to use when authenticating with the IdP. If
516+
specified, it must be one of `GET`, `POST`. The default value
517+
is `GET`.
518+
513519
`http_headers`
514520
: Additional HTTP headers to send in the request to the IdP. If specified,
515521
it must be a dictionary of `key: value` pairs, where keys and values are

0 commit comments

Comments
 (0)