-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature request: support config based authentication #36
Comments
@nmussy If you have experience with |
I don't have any experience with it, just did a quick issue lookup in the v1 repo, sorry to say 😅 |
@markostru I looked at it when I did the implementation (was not aware of this limitation) but v2 required some binary that caused issues when run on lambda. |
@Lewenhaupt |
@ServerlessLife yeah I'll give it a go 😊 need a reason to keep learning nvim as well so it's the perfect opportunity 😅 |
Yeah the aws-crt didn't work fully. It did support the config file, but not sso based Auth. |
Given the following
~/.aws/config
file, set up to handle a basic AWS Organizationmain
main account andsub
sub account:The env
AWS_PROFILE=sub
variable is correctly detected, butsspy
only tries to access~/.aws/credentials
:This seems to be a limitation of
aws-iot-device-sdk-js
, but was supposedly fixed inaws-iot-device-sdk-v2
, see aws/aws-iot-device-sdk-js#307This can be worked around by manually generating credentials and loading them in your env using the AWS CLI:
The text was updated successfully, but these errors were encountered: