Comments (3)
From quickly looking at aws-vault you would need to export your temporary credentials locally.
Something like this also might work, just set the profile to default or whatever aws-vaults uses
aws-vault exec USERNAME -- ./cloudgoat.py create vulnerable_lambda
from cloudgoat.
it runs perfectly but fails at this during terrafrom plan face
[cloudgoat] terraform init completed with no error code.
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: No valid credential sources found
│
│ with provider["registry.terraform.io/hashicorp/aws"],
│ on provider.tf line 1, in provider "aws":
│ 1: provider "aws" {
│
│ Please see https://registry.terraform.io/providers/hashicorp/aws
│ for more information about providing credentials.
│
│ Error: A Profile was specified along with the environment variables "AWS_ACCESS_KEY_ID" and
│ "AWS_SECRET_ACCESS_KEY". The Profile is now used instead of the environment variable credentials.
│
from cloudgoat.
Ahh looks like aws-vault does not write to the ~/.aws/credentials
What might need to be done it get the temporary credentials and put them in that file so CloudGoat can use the profile from the config file.
Something like this
aws-vault exec USERNAME -- env | grep AWS
vim ~/.aws/credentials
---
[cloudgoat]
aws_access_key_id = ASIA...
aws_secret_access_key = .....
aws_session_token = .........
---
./cloudgoat.py config profile
./cloudgoat.py create vulnerable_lambda
from cloudgoat.
Related Issues (20)
- Deployment (rds.tf) and user "calrissianInfo" permission issue - codebuild_secrets HOT 3
- cicd : ssm connection and scenario deletion HOT 4
- detection_evasion : ssm connection and git clone issue HOT 4
- Problem creating ec2 instance on ecs_takeover HOT 1
- CICD: FIX HOT 1
- Installing requirements error. HOT 4
- ecs_takeover creation fail >>> FIX HOT 6
- cicd
- Docker Build Issue: Pip Install Error
- Duplicate resource in IAM policy
- Problem creating ec2 instance on cloud_breach_s3 HOT 10
- Trying getting it to work under Windows with Zero Luck
- Cloudgoat Missing Versioning
- ecs_takeover setup error HOT 2
- glue_privesc setup error HOT 1
- Terraform not found when running CloudGoat on Kali Linux HOT 5
- Error deploying ec2_takeover senario HOT 3
- rds_snapshot depricated instance family
- Feature Request: Scenario Template & Contribution Guide
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudgoat.