Google Cloud Storage
Introduction
Google Cloud Storage offers a highly scalable, secure, and durable object storage service designed to handle unstructured data across various use cases. With a unified API and integration across Google Cloud services, it supports efficient data retrieval and storage management. Its tiered storage options—ranging from high-performance to cost-effective archival—make it a versatile solution. Beyond its native ecosystem, Google Cloud Storage is widely adopted for hybrid and multi-cloud strategies due to its interoperability and global availability.
Follow the guide below to set up an account and get HMAC credentials on GCP:
Google Cloud Storage Secret
If your Google Cloud bucket requires authentication for read or write access, set up a secret to store your Service Account HMAC credentials securely with ByteNite (see 🔐 Setting up secrets)
Here's an example of a request body of the Secrets endpoint for saving Google Cloud keys:
{
"secret": {
"id": "my_gcp_secret",
"secretType": "gcp",
"expiresAt": "2025-12-29T18:02:27.140Z",
"accessKey": "GOOG1AB7QD3TY4NSFIZHD4KPB6LVB4F53UJGEZEMRJDXO5PUYDXAOSIKUFNI",
"name": "GCP Bucket Admin Project 'My App'"
},
"secretKey": "aBcDeFgHiJkLmNoPqRsTuVwXyZ1234567890+/ExAmPlEkEy"
}
Google Cloud Storage Data Source Object
Set up your data source with Google Cloud storage using the your previously configured gcp secret and the following params
:
Here is an example Google Cloud data source and destination request body:
{
"dataSource": {
"dataSourceDescriptor": "gcp",
"params": {
"@type": "type.googleapis.com/bytenite.data_source.S3DataSource",
"name": "/vids/big_buck_bunny.mp4",
"bucketName": "my-app-data-bucket-12345",
"cloudRegion": "us-west2-b",
"secret_id": "my_gcp_secret"
}
},
"dataDestination": {
"dataSourceDescriptor": "gcp",
"params": {
"@type": "type.googleapis.com/bytenite.data_source.S3DataSource",
"name": "/vids/encoded/",
"bucketName": "my-app-data-bucket-12345",
"cloudRegion": "us-west2-b",
"secret_id": "my_gcp_secret"
}
}
}
Last updated
Was this helpful?