Skip to content

Instantly share code, notes, and snippets.

@zined
Forked from lantrix/get_aws_saml_token.sh
Created May 6, 2017 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zined/61d32484c452875104ccf59a5f08b34c to your computer and use it in GitHub Desktop.
Save zined/61d32484c452875104ccf59a5f08b34c to your computer and use it in GitHub Desktop.
How to request SAML assertion from ADFS for Amazon Web Services using curl
curl https://youradfsserver.com.au/adfs/services/trust/13/usernamemixed --data @aws_saml_request.xml -H "Content-Type: application/soap+xml" --verbose -o "saml.xml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment