What is the query to identify all policies that are configured to use a certain private key?
All supported versions of the API Gateway
Run the following queries:
select name from policy where xml like '%KeyName%<NAME_OF_KEY>%';
select name from policy where xml like '%KeyAlias%<NAME_OF_KEY>%';