Skip to main content

IAM Policy Troubleshooter API client library

Project description

GA pypi versions

IAM Policy Troubleshooter 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 Resource Manager API Service.

  4. Setup Authentication.

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

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

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-policy-troubleshooter

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe 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

google_cloud_policy_troubleshooter-1.4.1-py2.py3-none-any.whl (55.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: google-cloud-policy-troubleshooter-1.4.1.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for google-cloud-policy-troubleshooter-1.4.1.tar.gz
Algorithm Hash digest
SHA256 fa260e5e94829d909e7a0c408afba0d20c5f4ef69496baae67020d012c813ab9
MD5 e5b09458f95ae7b6f3a5b0df7935bdd6
BLAKE2b-256 1ef9100fa9fc528312703f38b7295a2f70550d034793e02499bd6b6de8239596

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: google_cloud_policy_troubleshooter-1.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for google_cloud_policy_troubleshooter-1.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a550750ebdce73f23a5886e29cf953a7b1ca69bc5e3c97e0745430d78007731d
MD5 d4d874bcfea36af83419d1874fdc3a38
BLAKE2b-256 092fc746917b1e2bb0bd7d9002b8981271d64640997ef755421bb22f3ae1ec34

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