Serve
HTTP server used to retrieve credentials from Weep automatically
weep serveAWS_CONTAINER_CREDENTIALS_FULL_URI=http://localhost:9091/ecs/consoleme_oss_1
▔▔▔▔▔▔▔▔▔ ▔▔▔▔ ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
│ │ └─ Role name/search string
│ └─ Weep port (probably 9091)
└─ Weep hostname (probably localhost)AWS_CONTAINER_CREDENTIALS_FULL_URI=http://localhost:9091/ecs/consoleme_oss_1 aws sts get-caller-identity
{
"UserId": "AROA4JEFLERSKVPFT4INI:user@example.com",
"Account": "123456789012",
"Arn": "arn:aws:sts::123456789012:assumed-role/consoleme_oss_1_test_user/user@example.com"
}
AWS_CONTAINER_CREDENTIALS_FULL_URI=http://localhost:9091/ecs/consoleme_oss_2 aws sts get-caller-identity
{
"UserId": "AROA6KW3MOV2F7J6AT4PC:user@example.com",
"Account": "223456789012",
"Arn": "arn:aws:sts::223456789012:assumed-role/consoleme_oss_2_test_user/user@example.com"
}IMDS Emulation
Last updated