@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
-------------------------------------------
Original Message:
Sent: Dec 08, 2025 11:48 AM
From: Rajesh Natarajan
Subject: Graphman TrustedCerts By name not working
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>
-------------------------------------------