Questions tagged [aws-vault]
8 questions
2
votes
1 answer
Goland IDE build and run with aws-vault
Trying to google something for Goland vs Golang is proving to be quite hard. Everything I am searching seems to come back for code or switching profiles. That is all already handled.
I had a project that was taking in json and processing the data. I…

nerdlyist
- 2,842
- 2
- 20
- 32
1
vote
1 answer
How to take aws credentials from aws-vault exec
I want to take aws credentials from the aws-vault exec environment and store them in a file
When I try to print the credentials with
aws-vault exec default -- echo ${AWS_ACCESS_KEY_ID} I got only an empty string

Stoyan Georgiev
- 345
- 2
- 8
0
votes
0 answers
aws-vault in Windows: Failed to get credentials for profile: operation error STS: GetSessionToken
Setup aws-vault.exe v.7.2.0 on new windows 11 pc.
Getting error on connection:
Failed to get credentials for [profile]: operation error STS: GetSessionToken, https response error StatusCode: 403, RequestID: [id number], api error AccessDenied:…

Michelle Ray
- 11
- 2
0
votes
0 answers
How can I get rid of the "Failed to get credentials for operation error STS: GetSessionToken" when setting up aws-vault
I am trying to set up aws-vault to access one specific AWS account.
I've set up my profile on config (region and role_arn) and run:
aws-vault add
with Access Key ID and Secret Access Key.
However when I run the following command I get…

GabC
- 1
0
votes
1 answer
Error ENOENT on child process when executing command in javascript
I want to execute aws-vault with 2 arguments as a script in my package.json. Therfore I created a little helper script:
deploy.js
const { spawn } = require('child_process');
const args = process.argv.slice(2);
const child = spawn(
`aws-vault exec…

zlZimon
- 2,334
- 4
- 21
- 51
0
votes
0 answers
AWS Vault Enter Secret Access Key not possible
I am able to enter my Access ID but not my Secret Key. Nor can I paste it in when trying to add my profile.
I have tried installing various versions of AWS Vault ( 6.6.0, 6.1.0) via Chocolatety package manager.
Also installed via scoop.
When adding…

Travis Salmon
- 21
- 2
0
votes
0 answers
Getting InvalidClientTokenId 403 error when trying to pass AWS access keys in Terraform using aws-vault
I'm trying to pass my AWS credentials in Terraform in a secure way. I'm using aws-vault. I've followed the instructions in creating a profile in aws-vault and added my access key and secret. I cannot seem to get the variable syntax right.
When I try…

mdailey77
- 1,673
- 4
- 26
- 52