Overview of alien-gcp-clients
mainThe alien-gcp-clients package provides a custom HTTP client designed for making direct calls to Google Cloud Platform (GCP) APIs. Unlike a wrapper around the official Google Cloud SDK, it uses reqwest to perform direct API requests authenticated via JWT-generated Bearer tokens.
Key features include:
- Direct API Access: Uses
reqwestfor lightweight, direct HTTP communication. - Token Management: Implements token caching with a 45-minute Time-To-Live (TTL).
- Testability: Uses a trait-based API design, making it compatible with
mockallfor easy mocking in tests.
Supported GCP Services:
- Cloud Run
- Cloud Storage (GCS)
- Firestore
- Pub/Sub
- IAM
- Artifact Registry
- Cloud Build
- Cloud Scheduler
- Compute Engine
- Resource Manager
- Secret Manager
- Service Usage