#google-cloud #gcp #google-api #sdk

google-cloud-auth

Google Cloud Client Libraries for Rust - Authentication

32 releases (17 breaking)

new 0.18.0 Feb 18, 2025
0.17.2 Nov 26, 2024
0.17.1 Sep 22, 2024
0.16.0 Jun 27, 2024
0.1.1 Nov 28, 2021

#1 in #gcp

Download history 56192/week @ 2024-10-29 45225/week @ 2024-11-05 78695/week @ 2024-11-12 70360/week @ 2024-11-19 51774/week @ 2024-11-26 72941/week @ 2024-12-03 75718/week @ 2024-12-10 55357/week @ 2024-12-17 21376/week @ 2024-12-24 33129/week @ 2024-12-31 72894/week @ 2025-01-07 62281/week @ 2025-01-14 57057/week @ 2025-01-21 59622/week @ 2025-01-28 64498/week @ 2025-02-04 65582/week @ 2025-02-11

253,647 downloads per month
Used in 94 crates (14 directly)

Apache-2.0

115KB
2K SLoC

Rust 2K SLoC // 0.1% comments HCL 262 SLoC // 0.4% comments

Google Cloud Client Libraries for Rust - Authentication

The Client Libraries for Rust are under active development. We are creating placeholder crates so we can reference them in our code and tooling.

WARNING: this crate is under active development. We expect multiple breaking changes in the upcoming releases. Testing is also incomplete, we do not recommend that you use this crate in production. We welcome feedback about the APIs, documentation, missing features, bugs, etc.

This crate used to contain a different implementation, with a different surface. @yoshidan generously donated the crate name to Google. Their crate continues to live as gcloud-auth.


lib.rs:

Google Cloud Client Libraries for Rust - Authentication Components

WARNING: this crate is under active development. We expect multiple breaking changes in the upcoming releases. Testing is also incomplete, we do not recommend that you use this crate in production. We welcome feedback about the APIs, documentation, missing features, bugs, etc.

This crate contains types and functions used to authenticate applications on Google Cloud. The SDK clients consume an implementation of credentials::Credential and use these credentials to authenticate RPCs issued by the application.

Authentication methods at Google is a good introduction on the topic of authentication for Google Cloud services and other Google products. The guide also describes the common terminology used with authentication, such as Principals, Tokens, and Credentials.

Dependencies

~15–27MB
~482K SLoC