terraform.aws-baseline-infra/modules/util/assume_role/README.md
2023-07-01 17:21:53 +08:00

374 B

assume_role module

This module calls sts and run assume role. Returns the temp credential as a map.

System requirements

  • awscli
  • jq

Outputs

temp_credential: A map of strings returned by awscli. Variable is sensitive.

{
    "AccessKeyId": "111",
    "SecretAccessKey": "222",
    "SessionToken": "333",
    "Expiration": "2023-07-01T10:19:47+00:00"
}