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

[Javascript] How do I set aws credentials to the API without using AWS Cognito? #5067

Closed
adityats2020 opened this issue Mar 9, 2020 · 6 comments
Labels
question General question

Comments

@adityats2020
Copy link

adityats2020 commented Mar 9, 2020

Which Category is your question related to?
Auth
What AWS Services are you utilizing?
Direct call to API Gateway using REST API
Provide additional details e.g. code snippets
Using API to make REST calls to API Gateway.

How do I set AWS Credentials (access key, access key id, session token), without using AWS Cognito.
Language used: Javascript

@adityats2020 adityats2020 added the question General question label Mar 9, 2020
@adityats2020 adityats2020 changed the title [Javascript] How do I set aws credentials to the API without using AWS Cognito [Javascript] How do I set aws credentials to the API without using AWS Cognito? Mar 9, 2020
@ashika01
Copy link
Contributor

ashika01 commented Mar 9, 2020

@adityats2020 are you using Amplify for setting these up?

@adityats2020
Copy link
Author

@ashika01 Yes, trying to use Amplify to talk to API Gateway, but without using Cognito.

@ashika01
Copy link
Contributor

@adityats2020 do you have sample code or repo which can help to understand your use case better?

@ashika01
Copy link
Contributor

@adityats2020 We dont currently have a way in which you can achieve the result you are looking for. However, if you could provide us a detailed information about your use case and the data flow you are looking into. It would be useful for us to have some internal discussion or to open up a feature request for this.

@adityats2020
Copy link
Author

I want to use Amplify REST API to sign requests using the AWS Credentials (access key id, secret access key and session token) that I provide to Amplify, without requiring AWS Cognito settings on Amplify.
That's the use case.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question General question
Projects
None yet
Development

No branches or pull requests

2 participants