Skip to main content

Google Cloud Policy Troubleshooter API client library

Project description

stable pypi versions

IAM Policy Troubleshooter API: makes it easier to understand why a user has access to a resource or doesn’t have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter examines all Identity and Access Management (IAM) policies that apply to the resource. It then reveals whether the member’s roles include the permission on that resource and, if so, which policies bind the member to those roles.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the IAM Policy Troubleshooter API.

  4. Setup Authentication.

Installation

Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project’s dependencies from the dependencies of other projects.

With venv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Code samples and snippets

Code samples and snippets live in the samples/ folder.

Supported Python Versions

Our client libraries are compatible with all current active and maintenance versions of Python.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-cloud-policy-troubleshooter

Windows

py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-policy-troubleshooter

Next Steps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file google-cloud-policy-troubleshooter-1.11.0.tar.gz.

File metadata

File hashes

Hashes for google-cloud-policy-troubleshooter-1.11.0.tar.gz
Algorithm Hash digest
SHA256 1b77a7e9ac117edcb9392b6faae80e8caddea9bbd057cab8705c7f3d9202b9f1
MD5 de48934c237a8b1c636f1727813f98b5
BLAKE2b-256 ce461ce7fcdc534a38e1ce64236c0f0e4617a5596570909131ef68682121051e

See more details on using hashes here.

Provenance

File details

Details for the file google_cloud_policy_troubleshooter-1.11.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_policy_troubleshooter-1.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b1abe4ae1ce40bc04a9d20fa6cf32753815519e3ed23d2e429dfc3a3bfedb90
MD5 133d9712cf24e80cbddf7a420579f848
BLAKE2b-256 3dcae640c4e91fe792865e1f794c9bdbd3f1211d839500c2f612b063bf6a9ae0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page