The Google Storage alias type is used when your image assets are stored in a Google Cloud Storage bucket. This type has the capability to connect to the storage using the JSON keyfile of a Service Account that you create in your Google Cloud Platform control panel.
The minimum/required fields to create an alias of type Google Storage are:
| Field | Description |
|---|---|
| Name | The name of the alias to be used when building your URL |
| Type | Google Storage |
| bucket name | The name of your Storage bucket |
| region | The datacenter region where you created your space |
| Is Secured | Whether the bucket access is public or requires authentication |
If the bucket is secured, you will need to supply the following:
| Field |
|---|
| JSON keyfile content |
For steps on how to procure a JSON keyfile read here.
The optional fields are:
| Field | Description |
|---|---|
| prefix key | A prefix to add to every image access thru this alias |
The following fields will enable other behaviors:
| Field | Required | Description |
|---|---|---|
| Templates | No | Template definitions will make your work easier. More info here. |
| Watermark | No | Watermark all images within the alias. More info here. |
| Referers | No | Adding domains to this list will make the alias only access requests from this white-list. More info here. |
| Secrets | No | Alias-specific secrets that can be used to open the alais when locked. More info here. |
More information about aliases here.