-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Can using access and secret key to login in aws account #28667
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
From the README there's a link that explains how to specify credentials to AWS. This looks like the best practice for accomplishing what you want. Can you share why it would be better to specify credentials in the config file instead of how it's currently done? |
Hi, I tried copy ~/.aws folder inside the container, but doesn't work If you could have the option of putting the credentials in the file, it would be a solution. Equals the other parameters |
I believe you can accomplish this by passing environment variables into your docker container. Are you passing the environment variables ( |
It looks like there are some ways to mount the credentials file if required, or specify the environment variables. Here's a stack overflow thread on this. |
In the code I can't pass the access key and secret key. The code get this credentials in default profile
|
Can you share your configuration? I might be missing something so it would help to know exactly how you're trying to run the collector in a container. The collector's config file, any kind of dockerfile/CLI command being used would be helpful. |
Sure :)
The error message: |
I'll defer to the code owners at this point since they're the best suited to help. I believe the authentication can be done with the correct mounting path for the |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
According to https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-credentials docker-compose.yaml
otel-collector-config.yaml
|
@matheusrosmaninho Is there anything else needed for this issue, or can we resolve it? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
exporter/awss3
Is your feature request related to a problem? Please describe.
I would like enter the credentials of AWS for login in account
Describe the solution you'd like
The credential are optional, if don't use don't need pass nothing
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: