Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jottenlips/whoiam-zsh-prompt

|> RPROMPT for the developer with multiple IAM roles
https://github.com/jottenlips/whoiam-zsh-prompt

aws bash bash-script iam iam-role prompt rprompt shell terminal zsh zsh-theme

Last synced: 16 days ago
JSON representation

|> RPROMPT for the developer with multiple IAM roles

Awesome Lists containing this project

README

        

# whoiam-zsh-prompt
RPROMPT for the user with multiple IAM roles

1. Add your credentials to your .aws folder.
2. Copy the contents of the `iamrprompt.sh` to your `.zshrc` file.
3. Restart your terminal.

Your IAM role should show up on your right side prompt so you know which AWS account and role you are currently using.
To refresh the prompt and make sure you are who you think you are, run `refreshIamPrompt`.

You can also run `whoiam` whenever you need to check.