intrigueio / intrigue-core

Discover Your Attack Surface!
https://core.intrigue.io
Other
1.35k stars 262 forks source link

Support for AWS Credential Temporary Keys #429

Closed m-q-t closed 3 years ago

m-q-t commented 3 years ago

Hi team,

Please find attached in this PR the implementation to allow the AWS tasks to support AWS Temporary Keys (generated via STS).

Changes:

Thanks.

Best regards, Maxim

m-q-t commented 3 years ago

Snippet from bootstrap.json for temporary AWS keys:

      "seeds": [{
          "entity": "AwsCredential#MyCreds1",
          "details": {
            "Some_detail": "that's good",
            "Anotherdetail": "that's also good"
          },
          "sensitive_details": {
            "aws_access_key_id": "ASIAEXAMPLEKEY",
            "aws_secret_access_key": "secret_access_key_here",
            "aws_session_token": "session_token_here"
          }
      }]
  }]