Apologies if this is sparse for now. More will be forthcoming.

Tokenutil is a command line utility that requests tokens from a Security Token Service. Right now support exists only for ADFS and ACS STSes and only for SAML but soon it will support more.

Usage:

tokenutil -adfs -h ADFSv2 hostname -a relying party -u username -p password -kt Bearer

tokenutil -acs -h ACS hostname -a relying party

examples:

tokenutil -adfs -h adfs.test.loc -a https://app.test.loc/ -u alice -p p@ssword -kt Bearer

or

tokenutil -acs -h test.accesscontrol.windows.net -a https://test.cloudapp.net/ -token token.xml

or

tokenutil -adfs -h adfs.test.loc -a https://test.accesscontrol.windows.net/ -u alice -p p@ssword -kt Bearer -acs -h test.accesscontrol.windows.net -a https://test.cloudapp.net/

Last edited Oct 20, 2012 at 11:25 PM by CryptKeyPair, version 2

Comments

No comments yet.