» google_compute_backend_bucket_signed_url_key

A key for signing Cloud CDN signed URLs for BackendBuckets.

To get more information about BackendBucketSignedUrlKey, see:

» Example Usage - Backend Bucket Signed Url Key

resource "google_compute_backend_bucket_signed_url_key" "backend_key" {
  name           = "test-key"
  key_value      = "pPsVemX8GM46QVeezid6Rw=="
  backend_bucket = google_compute_backend_bucket.test_backend.name

resource "google_compute_backend_bucket" "test_backend" {
  name        = "test-signed-backend-bucket"
  description = "Contains beautiful images"
  bucket_name = google_storage_bucket.bucket.name
  enable_cdn  = true

resource "google_storage_bucket" "bucket" {
  name     = "test-storage-bucket"
  location = "EU"

» Argument Reference

The following arguments are supported:

  • name - (Required) Name of the signed URL key.

  • key_value - (Required) 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. Note: This property is sensitive and will not be displayed in the plan.

  • backend_bucket - (Required) The backend bucket this signed URL key belongs.

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

» Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format projects/{{project}}/global/backendBuckets/{{backend_bucket}}

» Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 4 minutes.
  • delete - Default is 4 minutes.

» User Project Overrides

This resource supports User Project Overrides.