Skip to content
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

Run amplify mock api lambdas with aws sso as credential source #139

Open
2 tasks
ilansh opened this issue Nov 29, 2021 · 0 comments
Open
2 tasks

Run amplify mock api lambdas with aws sso as credential source #139

ilansh opened this issue Nov 29, 2021 · 0 comments
Labels

Comments

@ilansh
Copy link

ilansh commented Nov 29, 2021

Is this feature request related to a new or existing Amplify category?

No response

Is this related to another service?

aws sso

Describe the feature you'd like to request

Ability to run amplify mock api with aws sso as credential source.
Currently when running amplify mock api I get the following error:

Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

Presumably from mock lambdas.
I have followed other issues suggesting how to work with aws sso, and I am able to work with amplify and sso in other scenarios, but mock api still does not work.
Other related issues I have seen:
aws-amplify/amplify-cli#6016
aws-amplify/amplify-cli#6882
aws-amplify/amplify-cli#5065

Describe the solution you'd like

Support for using sso credential source when running lambdas in mock api.

Describe alternatives you've considered

Avoid using mock api

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@alharris-at alharris-at transferred this issue from aws-amplify/amplify-cli May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants