aws-amplify / aws-amplify/amplify-cli
Add Support for API keys in Geo resources
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
New category
### Is this related to another service?
GEO
### Describe the feature you'd like to request
As of now, when using geo resources by running `amplify add geo` command , having a cognito resource is mandatory, as the CLI mentions below message :
` geo category resources require auth (Amazon Cognito). Do you want to add auth now? `
However Location Service supports using API keys to access Maps and Indexes :
[+] https://docs.aws.amazon.com/location/latest/developerguide/how-to-access.html
It would be great to have this feature in Amplify as well.
### Describe the solution you'd like
Allow multiple auth modes in Geo , like GraphQL as well. When adding geo, an option to select authorization modes would be great.
### Describe alternatives you've considered
If there is any workaround to this, please share the same here.
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Research direction
Start with the `amplify add geo` command flow and review the linked Amazon Location Service access documentation. The feature is done when Geo resources can offer selectable authorization modes, including API keys and Cognito, without requiring a Cognito resource.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100