...
Code Block |
---|
|
$ metadatagen.sh --lang US-en \
--logo https://idp.example.org/logo.png \
--logo-width 128 \
-o "Example & Org" \
-u "https://example.org?foo=bar&foo=baz" \
-a /Bono/ \
-t John/Doe/mailto\:doe@example.org \
--contact-support "Help & Desk//support@example.org" \
--sp -w \
--nameid-format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress \
--idp \
--aa \
--entityID https://sp.example.org \
--scope example.org \
--cert /Users/example/Desktop/webauth.crt \
--sso Redirect1/idp.example.org/idp/profile/SAML/SSO/Redirect \
--sso Redirect/idp.example.org/idp/profile/SAML2/SSO/Redirect \
--sso POST/idp.example.org/idp/profile/SAML2/SSO/POST \
--sso SOAP/idp.example.org/idp/profile/SAML2/SSO/SOAP \
--query SOAP/idp.example.org:8443/idp/profile/SAML2/AttributeQuery/SOAP \
--query SOAP1/idp.example.org:8443/idp/profile/SAML/AttributeQuery/SOAP \
--logout Redirect/sp.example.org/Shibboleth.sso/SLO/Redirect \
--logout Artifact/sp.example.org/Shibboleth.sso/SLO/Artifact \
--acs POST1/sp.example.org/Shibboleth.sso/SAML/POST \
--acs POST/sp.example.org/Shibboleth.sso/SAML2/POST \
--acs POST/sp2.example.org/Shibboleth.sso/SAML2/POST \
--acs PAOS/sp.example.org/Shibboleth.sso/SAML2/ECP \
--tag urn:oasis:names:tc:SAML:profiles:subject-id:req=subject-id |
Example Batch File
Below is a single “command” to run. Any number can be added to a file, with the period terminator separating the commands. In principal, a shell script could be used to generate these commands, of course, which would recover some of the fancier substitution ability of the shell.
Code Block |
---|
|
--lang US-en
--logo https://idp.example.org/logo.png
--logo-width 128
-o Example\ &\ Org
-u https://example.org?foo=bar&foo=baz
-a /Bono/
-t John/Doe/mailto:doe@example.org
--contact-support Help\ &\ Desk//support@example.org
--sp -w
--idp
--aa
--entityID https://sp.example.org
--scope example.org
--nameid-format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
--cert /Users/scantor/Desktop/webauth2.crt
--sso Redirect1/idp.example.org/idp/profile/SAML/SSO/Redirect
--sso Redirect/idp.example.org/idp/profile/SAML2/SSO/Redirect
--sso POST/idp.example.org/idp/profile/SAML2/SSO/POST
--sso SOAP/idp.example.org/idp/profile/SAML2/SSO/SOAP
--query SOAP/idp.example.org:8443/idp/profile/SAML2/AttributeQuery/SOAP
--query SOAP1/idp.example.org:8443/idp/profile/SAML/AttributeQuery/SOAP
--logout Redirect/sp.example.org/Shibboleth.sso/SLO/Redirect
--logout Artifact/sp.example.org/Shibboleth.sso/SLO/Artifact
--acs POST1/sp.example.org/Shibboleth.sso/SAML/POST
--acs POST/sp.example.org/Shibboleth.sso/SAML2/POST
--acs POST/sp2.example.org/Shibboleth.sso/SAML2/POST
--acs PAOS/sp.example.org/Shibboleth.sso/SAML2/ECP
--tag urn:oasis:names:tc:SAML:profiles:subject-id:req=subject-id
. |