You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really great if there's a way to have an unexpirable api key so i don't have to get a 401 response from the app when requesting queries, mutations or anything related to that.
Describe the solution you'd like
I think that an unexpirable API Key would be the best solution
Describe alternatives you've considered
Or maybe have it as a built-in function to repeatedly request for the latest API key if its not expired otherwise generate one when it does.
Hey, there is a effort currently in place to support rotatable API key with Amplify CLI. Please refer to #598 for additional information. Implementing a unexpirable API key would not follow API best practices.
Is this related to a new or existing framework?
React Native
Is this related to a new or existing API?
GraphQL API
Is this related to another service?
Appsync
Describe the feature you'd like to request
It would be really great if there's a way to have an unexpirable api key so i don't have to get a 401 response from the app when requesting queries, mutations or anything related to that.
Describe the solution you'd like
I think that an unexpirable API Key would be the best solution
Describe alternatives you've considered
Or maybe have it as a built-in function to repeatedly request for the latest API key if its not expired otherwise generate one when it does.
Additional context
@chrisbonifacio mentioned to me this article about creating a lambda function for this feature to happen but i wanted it to be included with Amplify instead
https://www.cloudxs.ch/2021/06/rotate-appsync-api-key-in-an-aws-amplify-project/
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: