You can obtain the SP metadata file metadata.xml in either of the following two ways. This metadata file contains the AOC information related to authenticating via SAML, including SP's unique identifier, SSO endpoint URL, authentication information, attribute assertions, binding types and more.
Obtaining the file via link
https://aoc_url/api/sso/saml/metadata
Obtaining the file with the command-line tool tacli
Run the following command to obtain the SP metadata file metadata.xml using tacli:
./tacli -e https://aoc_url -u "username" -p "password" saml download-metadata
Information:
- Replace
https://aoc_urlwith the actual address (IP/domain name) of your AOC instance.- Replace the
usernameandpasswordwith the username and password of AOC super administrator.After running the above command, the metadata file will be automatically downloaded and saved as
tower-sp-metadata.xmlin the current execution directory. Alternatively, you can specify the output path by adding a-oor--outputparameter as follows:./tacli -e https://aoc_url saml download-metadata -o metadata.xml