-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Is your feature request related to a problem? Please describe.
I am automating the renewal of app keys, per design our products are set as "private". This means that whenever I create a new key it is in the "pending" state and there is no existing way to approve it.
Describe the solution you'd like
Implement the new commands:
apigeecli apps keys product approve
apigeecli apps keys product revoke
It must receive the same arguments as the keys get, with the additional list of products to be approved.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
This is the result of the "keys get" command:
{
"apiProducts": [
{
"apiproduct": "***REDACTED***",
"status": "pending"
}
],
"consumerKey": "***REDACTED***",
"consumerSecret": "***REDACTED***",
"expiresAt": "1769081929988",
"issuedAt": "1737545929988",
"status": "approved"
}
The method to be used is https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.developers.apps.keys.apiproducts/updateDeveloperAppKeyApiProduct