Forum Discussion

petr_haban's avatar
petr_haban
Icon for Nimbostratus rankNimbostratus
Mar 18, 2025
Solved

How to export a list of paired external service providers from APM?

Hi community, is there a way to export the list of paired external service providers with a local identity provider hosted on bigip (APM) using an API call or in the cli?

  • Hi F5_Design_Engineer,

    Hi,

    thanks for the reply and advice that leads me to get the list of SP connectors :-). The above command "tmsh list apm sp-connector" returns a syntax error "sp-connector" unexpected argument. But the "modified version" of the command "tmsh list apm sso saml-sp-connector" returns what I need :-) 

    Thanks again.

    Petr

3 Replies

  • Hi Petr,

    You can try using CLI


    List Service Providers:

    You can use the tmsh command to list the paired external service providers:

    tmsh list apm saml sp-connector


    Export to File:

    If you want to export the list to a file, you can redirect the output to a file:

    tmsh list apm saml sp-connector > /var/tmp/exported_file.txt

    These steps should help you export the list of paired external service providers from APM. 

    You can login in the F5 device using WINSCP to download this exported_file.txt

  • Hi F5_Design_Engineer,

    Hi,

    thanks for the reply and advice that leads me to get the list of SP connectors :-). The above command "tmsh list apm sp-connector" returns a syntax error "sp-connector" unexpected argument. But the "modified version" of the command "tmsh list apm sso saml-sp-connector" returns what I need :-) 

    Thanks again.

    Petr

  • Thanks Petr

    here are more such commands

     

    list saml-sp-connector
        list saml-sp-connector [ [ [name] | [glob] | [regex] ] ... ]
        show running-config saml-sp-connector
        show running-config saml-sp-connector [ [ [name] | [glob] | [regex] ] ... ]
          options:
            all-properties
            app-service
            non-default-properties
            one-line
            partition

    https://clouddocs.f5.com/cli/tmsh-reference/v14/modules/apm/apm_sso_saml-sp-connector.html