API Reference

GCP

CloudBase.GCP.CredentialsType
CloudBase.GCP.Credentials(access_token[, expiration]; expireThreshold=Dates.Minute(5))
CloudBase.GCP.Credentials(access_id, secret; region="us-east-1", service="s3", expireThreshold=Dates.Minute(5))
CloudBase.GCP.Credentials(; application_credentials_file=nothing, scopes=[...], expireThreshold=Dates.Minute(5))

Credentials object used for authenticating Google Cloud requests. An explicit bearer token can be provided directly, or GCP.Credentials() can load a service_account application credentials file, a well-known/local ADC file with authorized_user or external_account credentials, or Google metadata-server credentials. A 2-string constructor is also available for Cloud Storage XML HMAC interoperability using the documented AWS4-HMAC-SHA256 simple-migration path.

source
CloudBase.GCP.BucketType
CloudBase.GCP.Bucket(name)

Object representation of a Google Cloud Storage bucket using the XML API path-style endpoint layout. This is intended to mirror the existing provider store types and unblock downstream storage integrations.

source
reloadGCECredentials!Function
CloudBase.reloadGCECredentials!([root]; service_account="default", expireThreshold=Dates.Minute(5), scopes=[...])

Load fresh Google metadata-server credentials and store them in the internal GCP config cache. This is primarily useful for tests and explicit refresh scenarios.

source