Questions tagged [aws-credentials]
68 questions
0
votes
1 answer
AWS Credential Provider for ECS task
I want to use auth.AwsCredentialsProvider.new_default_chain() method in ECS task. In API doc https://awslabs.github.io/aws-crt-python/api/auth.html#awscrt.auth.AwsCredentialsProvider, found following:
Create the default provider chain used by most…

datahack
- 477
- 1
- 11
- 32
0
votes
0 answers
How to use configuration file from ~/.aws/config instead of shared-credentials-file location?
When I list the credentials this is the output:
aws configure list
Name Value Type Location
---- ----- ---- --------
profile None …

Tabares
- 4,083
- 5
- 40
- 47
0
votes
0 answers
How can you pre-sign requests to AWS with credentials using the AWS Java SDK?
I have a situation where I need to take a Java application that currently uses Basic auth to access OpenSearch, and add the ability for a user to provide a Cognito user-pool user/pass instead of the Basic user/pass.
It appears that the way to do…

A.D.
- 1
- 1
0
votes
0 answers
how to use aws service account to access S3 bucket in C#
I am trying to access a S3 bucket with C#.
I dont have Accesskey but I have a service account that service account would have an iam role association that would have a policy association that allows it to read from the bucket
I have been asked to…

smiles
- 221
- 1
- 4
- 19
0
votes
1 answer
What is best practice for storage of AWS credentials within a django application?
I'm new to using AWS Services and Django together and I'm having trouble finding information around best practices for storing your aws creds for Django to access?
I have a basic django application that's connected to an S3 bucket, so I need to be…

Jaimee-lee Lincoln
- 365
- 1
- 3
- 11
0
votes
0 answers
Unable to start awscli docker container in windows with docker-compose
Using amazon-cli with docker-compose file is causing an error. When we run docker-compose up in the gitbash it tries to bring the container up and then fails by saying below error
I'm just pulling the image and bringing the container up, then why…
anon
0
votes
0 answers
How to configure AWS SDK in Node.js with IAM role
I have a IAM role and I want to configure my AWS SDK in the Node.js application.
I did try below code:
const AWS = require('aws-sdk');
const sts = new AWS.STS({ region: 'us-east-1' });
const timestamp = (new Date()).getTime();
const params = {
…

User7723337
- 11,857
- 27
- 101
- 182
0
votes
0 answers
Gradle is giving S3 Access Denied error while reaching object in build stage
Although I have access to my bucket with the profile that I use, (because I can download the file from terminal) when I want to reach it in build.gradle, I'm getting S3 Access Denied error. Interesting thing is, with AWS Toolkit and from the…

Ege İper
- 1
- 3
0
votes
2 answers
Connect to AWS S3 bucket from Nodejs app ( persistent connection required)
I have nodejs/express app from which I want to connect to AWS S3.
I do have a temporary approach to make connection,
environment…

micronyks
- 54,797
- 15
- 112
- 146
0
votes
1 answer
How to manage credentials for a shell script that uses AWS CLI?
I have a shell script that runs as part of a CloudFormation template for each new EC2 instance created in AWS account "A". As part of that script I'd like to create a new IAM role in a different AWS account, AWS account "B" (always the same…

elatedgoat
- 11
- 3
0
votes
0 answers
How to feed credentials/password type values in cloudFormation template using deploy commands' --parameter-override from Jenkins-pipeline?
I want to create some secrets in aws secret-manager, these secret values are stored in Jenkins credential store and my Jenkinsfile is reading these values using Jenkins credentials.
I can easily use these values to feed to my cloudformation…

Learner
- 3
- 2
0
votes
1 answer
ChainableTemporaryCredentials getPromise and Missing credentials in config, if using AWS_CONFIG_FILE
I have an node application deployed in GCP.
The application includes code to access ressources in AWS-cloud.
For this purpose it uses the aws-SDK with ChainableTemporaryCredentials.
The relevant code lines are...
const credentials = new…

Thomas Seehofchen
- 367
- 1
- 5
- 14
0
votes
2 answers
Create an AWS credentials file in a Kubernetes pod
Can I put environment variables to aws credentials file and let aws configure recognize and parse the file? I have tried below. Look like the variable is not parsed by aws…

user389955
- 9,605
- 14
- 56
- 98
0
votes
1 answer
AWS DefaultCredentialProvider set by AWS_PROFILE env var not working for terraform remote state
I have a simple Terraform root that provisions some AWS resources. It was initially set up with default local state. I use an AWS Profile to specify the target environment:
$ export AWS_PROFILE="some-aws-profile"
$ aws sts get-caller-identity
{
…

Brett
- 5,690
- 6
- 36
- 63
0
votes
1 answer
Testing AWS Lambda via the console produces an Access Denied error
I've just deployed a stack via Cloudformation via a Github workflow runner. The Lambda is then shown in the AWS console. Within this, I test the Lambda with the "Event JSON". I then encounter the following error message:
START RequestId:…

pymat
- 1,090
- 1
- 23
- 45