Search code examples
react-nativeaws-amplify

How to enable API Key deployment in AWS Amplify ReactNative Project


amplify status

returning error as

GraphQL API is configured to use API_KEY authentication, but API Key deployment is disabled, don't forget to create one.

I cannot deploy any api changes to console. How to solve this.


Solution

  • Have you configured IAM user and Keys? IAM > Users > "amplify-xxxx" > Adminstrator Access or specific policies attached?

    enter image description here

    Error is from here:

    https://github.com/aws-amplify/amplify-cli/blob/fad6377bd384862ca4429cb1a83eee90efd62b58/packages/amplify-provider-awscloudformation/src/display-helpful-urls.js