API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationSecurityReferenceGlossary

Obtaining the SP metadata file

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_url with the actual address (IP/domain name) of your AOC instance.
    • Replace the username and password with 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.xml in the current execution directory. Alternatively, you can specify the output path by adding a -o or --output parameter as follows:

      ./tacli -e https://aoc_url saml download-metadata -o metadata.xml