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

Not able to connect to AWS using crypt #20

Open
tusharahuja opened this issue Dec 20, 2022 · 1 comment
Open

Not able to connect to AWS using crypt #20

tusharahuja opened this issue Dec 20, 2022 · 1 comment

Comments

@tusharahuja
Copy link

crypt enc aws --key-id <> --region us-east-1 --out /tmp/dd1 --in /tmp/dd
ERROR: encrypting failed, file '/tmp/dd': NoCredentialProviders: no valid providers in chain
caused by: EnvAccessKeyNotFound: failed to find credentials in the environment.
SharedCredsLoad: failed to load profile, default.
EC2RoleRequestError: no EC2 instance role found
caused by: RequestError: send request failed
caused by: Get "http:///latest/meta-data/iam/security-credentials/": dial tcp :80: i/o timeout (Client.Timeout exceeded while awaiting headers)

I am able to connect to aws using AWS CLI but not able to connect using crypt

what could be the issue? Any clue? Thanks.

@GabriFedi97
Copy link

This can be tied to the same issue I've opened #25.
@tusharahuja you can probably workaround the problem adding the --profile="" to your crypt invocation, but I think the proper way to fix is through my proposal with #26 .
@antoniaklja any thoughts?

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

No branches or pull requests

2 participants