I have a user account that are restricted to selfservice tasks without assuming any role.
The user can assume a read-only role.
The user can assume the admin role only when assumed the read-only role.
The IAM user, roles, policies have been verified by manually assuming roles using aws-cli commands, so IAM setup works.
It also works in aws-vault 6.6.1 but not in later aws-vault versions.
I have a user account that are restricted to selfservice tasks without assuming any role. The user can assume a read-only role. The user can assume the admin role only when assumed the read-only role.
aws-vault config:
The IAM user, roles, policies have been verified by manually assuming roles using aws-cli commands, so IAM setup works. It also works in aws-vault 6.6.1 but not in later aws-vault versions.
vault-6.6.1 Assuming readonly
Assuming admin
vault-7.2.0 Assuming admin role in 7.2.0 fails. Note: the IAM policies should be correct otherwise I would get denied in aws-cli + 6.6.1
Assuming readonly
Assuming admin