miquella / vaulted

Spawning and storage of secure environments
MIT License
254 stars 30 forks source link

VAULTED_ENV_ROLE_PATH incorrect for roles without a path #198

Open miquella opened 3 years ago

miquella commented 3 years ago

I noticed today that VAULTED_ENV_ROLE_PATH gets set to /./ for roles that don't have a path. For example, arn:aws:iam::123456789012:role/SomeRole sets:

VAULTED_ENV_ROLE_NAME="SomeRole"
VAULTED_ENV_ROLE_PARTITION="aws"
VAULTED_ENV_ROLE_PATH="/./"