Questions tagged [aws-credentials]

68 questions
0
votes
1 answer

Can't export fromIni from @aws-sdk/credential-providers

I'm working on a React/Node.js app and I'm trying to read my IAM User credentials from ~/.aws/credentials file. I am trying to use fromIni from the @aws-sdk/credential-providers node package. According to the AWS SDK v3 documentation, I can do the…
0
votes
2 answers

What format is ~/.aws/credential & config file

I was wondering if there was a name for the data format that the AWS credentials and config files are in. A sample ~/.aws/config file like this: [default] region = eu-west-1 [profile1] region = eu-central-2
0
votes
0 answers

Use AWS S3 on shared host and directadmin

I'm not enable to locate credential files on my shared host. the credential location for all hosted domains are same. the second way to set access keys is to use env var but I'm not allowed to set environment variable over putenv() to! the putenv()…
0
votes
1 answer

how to store AWS credentials in serverless yml file?

i want to use the AWS credentials in the code to connect to mongodb const user = process.env.AWS_ACCESS_KEY_ID const pass = encodeURIComponent( process.env.AWS_SECRET_ACCESS_KEY ) but i get undefined. my serverless credentials are…
mdrijwan
  • 41
  • 1
  • 8
0
votes
1 answer

How to provide default credentials from instance role to Apache Camel SQS Route

I am using apache camel for reading msg from AWS SQS. It Works exactly as expected when passing AWS AccessKey SecretKey in URI but.. I Don't want to add secret keys in URI I want it to take default credentials from Instance Role. I have given SQS…
0
votes
0 answers

Fork Git Client Update AWS Credentials

I'm currently using the Fork git client (git-fork.com) (I'm not sure that matters though) and I'm pushing changes to AWS for a client. When I did the initial pull it asked me for my Amazon credentials and everything was working ok. Recently we had…
0
votes
0 answers

How to create temporary access credentials for S3 that last up to 30 days?

I want to create temporary credentials that last about 30 days, and will only have access to a specific directory in a specific S3 bucket (I have figured out what the policy to do this would look like). Note that the specific directory is determined…
Kikanye
  • 1,198
  • 1
  • 14
  • 33
0
votes
1 answer

AWS AmazonSimpleSystemsManagementClient cannot read credentials in .NET Framework application

I have .NET Framework application where I try to read data from AWS parameter store using AmazonSimpleSystemsManagementClient on my local environment. Besides I have credentials generated by AWS CLI and located in Users/MyUser/.aws folder. When I…
0
votes
1 answer

How to Programmatically Disable Credentials Check Before Accessing Public AWS S3 Buckets?

My C++ program must access both public and private AWS buckets. The public buckets don’t belong to me so when the program tries to access them and my credentials are visible I get the following type errors: Aws::S3::S3Errors::INVALID_ACCESS_KEY_ID …
jox58
  • 65
  • 1
  • 6
0
votes
1 answer

AWS Java SDK - invalid security token

I'm trying to use the AWS SNS Java SDK on an application that is hosted on a EC2 machine. For the SNS SDK, the way to provide credentials is different than other SDKs, like S3. I did not specify any credentials chain mechanism, and on my local…
I. S.
  • 103
  • 1
  • 5
0
votes
1 answer

Can the AWS Credentials from Cognito send request to other Regions?

I created a user pool and an identity pool in one region. Can I use the credentials from the identity pool (accessKeyId, secretAccessKey, securityToken) to access data in another region?
0
votes
1 answer

AWS transcribe Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain

I am running a java program that uses AWS TranscribeStreaming. I have created(from AWS console) and downloaded AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY then set the environment variables. When I run the program I am getting error message: Unable…
sidibe
  • 51
  • 5
0
votes
2 answers

Reformat Json Object with AWS STS Credentials into AWS Credentials File

I'm setting up AWS Code Deploy for an on-premise machine. I'm following this guide and am using STS temporary credentials. I can successfully retrieve credentals via: aws sts assume-role --role-arn arn:aws:iam:::role/
Derek Soike
  • 11,238
  • 3
  • 79
  • 74
0
votes
0 answers

AWS .withCredentials InstanceProfileCredentialsProvider causing errors

In december I had my first fullstack project working, that means it worked on my mac in school and on the deployed app. Now that I cloned my repo onto my own windows machine, I have some problems getting everything back up and running in the dev…
0
votes
1 answer

Specifying a profile for awscrt.auth.AwsCredentialsProvider

I'm creating an AwsCredentialsProvider class (api docs) from: awscrt.auth.AwsCredentialsProvider.new_default_chain(client_bootstrap) I get an error AWS_ERROR_MQTT_UNEXPECTED_HANGUP which I believe occurs because my AWS credentials are under a non…
David Parks
  • 30,789
  • 47
  • 185
  • 328