chrisbeckett / gcp-permchecker

GCP Permissions Checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple GCP Permissions Checker Tool

This tool checks the GCP IAM permissions of a service account.

How to use

You need :-

  • Python 3.8 or higher
  • Git
  • GCP Service Account with Viewer permissions at Organisation level. Create and download the JSON credentials key file
  • An environment variable called GOOGLE_APPLICATION_CREDENTIALS pointing to your JSON file (example : GOOGLE_APPLICATION_CREDENTIALS="mycreds.json")

Installation steps

Logging to a file

  • Run "python3 gcp-permchecker.py > log.txt"

About

GCP Permissions Checker

License:GNU General Public License v3.0


Languages

Language:Python 100.0%