This webapp lists predefined roles and permissions for Google Cloud Platform Identity and Access Management (IAM).
I built it so that I can quickly search for permissions and identify the associated role. The official Google Documentation is too slow and messy for me.
If you want to customize or run this webapp on your local computer, you need the following requirements.
- Google Cloud CLI (
gcloud
) - JSON processor (
jq
) - Perl 5 (
perl
) - Perl modules:
Debian/Ubuntu
Packages:
sudo apt update
sudo apt install \
libjson-xs-perl \
libtemplate-perl \
libplack-perl \
jq
sudo apt-get install apt-transport-https ca-certificates gnupg
# Add the gcloud CLI distribution URI as a package source
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
# Import the Google Cloud public key.
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo tee /usr/share/keyrings/cloud.google.gpg
# Update and install the gcloud CLI
sudo apt-get update
sudo apt-get install google-cloud-cli
macOS
Homebrew packages:
brew install perl
brew install cpanminus pkg-config
brew install --cask google-cloud-sdk
brew install jq
Perl modules:
cpanm --installdeps .
Build:
cd build
bash roles.sh
bash permissions.sh
perl build.pl
Run:
plackup --host "127.0.0.1" --port "8080"
Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.
- Please read how to contribute.
- Fork this Git repository and make your changes.
- Create a Pull Request.
- Incorporate review feedback to your changes.
- Accepted!
All files in this repository are under the Apache License, Version 2.0 unless noted otherwise.
Portions of this webapp are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 4.0 Attribution License.