Skip to content

☁️ Google Cloud Identity and Access Management (IAM)

License

Notifications You must be signed in to change notification settings

Cyclenerd/google-cloud-iam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Identity and Access Management (IAM)

Badge: Google Cloud Badge: CI Badge: GitHub

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.

Screenshot

🧑‍💻 Development

If you want to customize or run this webapp on your local computer, you need the following requirements.

Requirements

Debian/Ubuntu

Packages:

sudo apt update
sudo apt install \
	libjson-xs-perl \
	libtemplate-perl \
	libplack-perl \
	jq

Google Cloud CLI:

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"

❤️ Contributing

Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.

  1. Please read how to contribute.
  2. Fork this Git repository and make your changes.
  3. Create a Pull Request.
  4. Incorporate review feedback to your changes.
  5. Accepted!

📜 License

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.