-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: fixes missing expiry during update #341 #343
Conversation
This doesn't fix the issue. But I think it is necessary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
App keys APIs are kinda confusing and messy.
I can generate new keys, assign to product and set expiration using a single API call: https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.developers.apps/generateKeyPairOrUpdateDeveloperAppStatus
Or I can import external keys (but not expiration) using: https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.developers.apps.keys/create
And then add product using: https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.developers.apps.keys/updateDeveloperAppKey
So how do I generate app keys via apigeecli?
This requires key and secret
apps keys create --org=$ORG --dev=demo@any.com --name=demo-app --expires=2678389502 --prods=demo
To generate a new key pair:
|
The expires flag is now in seconds consistently and only used for |
No description provided.