Layer7 API Management

 View Only

  • 1.  Graphman TrustedCerts By name not working

    Posted Dec 08, 2025 01:34 PM

    Graphman export cert by cert name is returning all certs in GW. Not a particular name that i have provided in query

    graphman export --gateway XXX --using trustedCerts --variables.name <certname> 



    -------------------------------------------


  • 2.  RE: Graphman TrustedCerts By name not working

    Broadcom Employee
    Posted Dec 09, 2025 01:15 AM

    @Rajesh Natarajan

    trustedCerts query method takes no arguments. It is designed to return all the trusted certs.

    It is true that we've no special method to find the certificates by name. We will look after this in future releases. As a work around, you may depend on the client-side filtering.

    Use the below cli arguments to export command to specify filters. 

      --filter.by <field-name>
        use this option to filter the exported entities by some field

      --filter.[equals|startsWith|endsWith|contains] <value>
        use this option to choose the matching criteria to filter the exported entities

    FYI: graphman export --help

    Having said that, below command will give us the matching cert by name

    graphman export --using trustedCerts --filter.by name --filter.equals my-cert

    -------------------------------------------