{"repo":"djc/gcp_auth","free":true,"listed":false,"github":"https://github.com/djc/gcp_auth","clone":"git clone https://github.com/djc/gcp_auth.git","description":"Minimal authentication library for Google Cloud Platform (GCP)","language":"Rust","stars":76,"topics":["gcp","google-cloud-platform","rust","authentication","auth","library"],"license":null,"category":"auth-billing-email","readme_excerpt":"GCP Auth [![Crates.io][crates-badge]][crates-url] [![Documentation][docs-badge]][docs-url] [![MIT licensed][mit-badge]][mit-url] [crates-badge]: https://img.shields.io/crates/v/gcp auth.svg [crates-url]: https://crates.io/crates/gcp auth [docs-badge]: https://docs.rs/gcp auth/badge.svg [docs-url]: https://docs.rs/gcp auth [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-url]: LICENSE GCP auth provides authentication using service accounts Google Cloud Platform (GCP) GCP auth is a simple, minimal authentication library for Google Cloud Platform (GCP) providing authentication using service accounts. Once authenticated, the service account can be used to acquire bearer tokens for use in authenticating against GCP services. The library supports the following methods of retrieving tokens in the listed priority order: 1. Reading custom service account credentials from the path pointed to by the GOOGLE APPLICATION CREDENTIALS environment variable. Alternatively, custom service account credentials can be read from a JSON file or string. 2. Look for credentials in .config/gcloud/application default credentials.json ; if found, use these credentials to request refresh tokens. This file can be created by invoking gcloud auth application-default login . 3. Use the default service account by retrieving a token from the metadata server. 4. Retrieving a token from the gcloud CLI tool, if it is available on the PATH . For more detailed information and examples, see the [do","default_branch":null,"files":null,"tree":[],"storefront":"/r/djc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/djc/gcp_auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}