/gcp-permchecker

GCP Permissions Checker

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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"