Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jottenlips/whoiam-zsh-prompt
- Owner: jottenlips
- Created: 2022-12-17T02:13:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T02:55:16.000Z (about 2 years ago)
- Last Synced: 2024-11-28T12:11:38.789Z (3 months ago)
- Topics: aws, bash, bash-script, iam, iam-role, prompt, rprompt, shell, terminal, zsh, zsh-theme
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# whoiam-zsh-prompt
RPROMPT for the user with multiple IAM roles1. 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.