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

Document how to set up authentication #24

Open
Nilzor opened this issue Jan 8, 2023 · 1 comment
Open

Document how to set up authentication #24

Nilzor opened this issue Jan 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Nilzor
Copy link

Nilzor commented Jan 8, 2023

Out of the box dsnap list says botocore.exceptions.NoCredentialsError: Unable to locate credentials. I can't seem to find anything in the README about how to set up credentials

edit: I see the "IAM Permissions" section but I don't know how that relates to the credentials file and how that relates to the IAM settings at AWS

@Nilzor Nilzor added the enhancement New feature or request label Jan 8, 2023
@RyanJarv
Copy link
Contributor

So dsnap uses the default AWS credential lookup behavior, so you should be able to use credentials in the same way as the aws cli. Which would be in the environment, then the default profile, unless you explicitly use a different profile with --profile or AWS_PROFILE

Granted, I believe there may be an issue with setting the profile in the environment currently. If so you can use the --profile flag explicitly.

I agree this would be a good thing to document however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants