modulepackage
0.0.0-20240902034144-85a5d7ee8d69
Repository: https://github.com/asbubam/trustme.git
Documentation: pkg.go.dev
# README
TrustMe
a simple CLI to manage Trust Relationship of AWS IAM Role
Trust me. You can add and remove your identity to Trust Relastionship
easily.
If you want to know about Trust Relationship, then recommend read this article: https://aws.amazon.com/blogs/security/how-to-use-trust-policies-with-iam-roles/
Install
$ brew tap asbubam/trustme
$ brew update
$ brew install trustme
$ trustme version
0.0.1
Run TrustMe
- Check current Trust Relationship of IAM Role
$ trustme tr check --role-name={RoleName}
- Check current polices of IAM Role
$ trustme policy check --role-name={RoleName}
- Check your IAM identity.
$ trustme whoami
- Add your identity to Trust Relationship.
$ trustme tr add --role-name {RoleName}
- Assume Role
$ trustme assume --role-name {RoleName}
- Remove your identity from Trust Relationship.
$ trustme tr remove --role-name {RoleName}