distribution/docs/storage-drivers/gcs.md
Misty Stanley-Jones 8c922b0c8c Revert "Merge pull request #437 from gdevillele/fix_keywords_format"
This reverts commit 13ddc1350ea1edafcb03d4db901823604a5d1ec1, reversing
changes made to 7a11f05943cc62d040dcfedc7621fdeafd11c718.
2016-11-04 13:33:29 -07:00

2 KiB

description keywords menu title
Explains how to use the Google Cloud Storage drivers
registry, service, driver, images, storage, gcs, google, cloud
main
parent
smn_storagedrivers
GCS storage driver

Google Cloud Storage driver

An implementation of the storagedriver.StorageDriver interface which uses Google Cloud for object storage.

Parameters

Parameter Required Description
bucket yes Storage bucket name.
keyfile no A private service account key file in JSON format. Instead of a key file Google Application Default Credentials can be used.
rootdirectory no This is a prefix that will be applied to all Google Cloud Storage keys to allow you to segment data in your bucket if necessary.
chunksize no (default 5242880) This is the chunk size used for uploading large blobs, must be a multiple of 256*1024.

bucket: The name of your Google Cloud Storage bucket where you wish to store objects (needs to already be created prior to driver initialization).

keyfile: (optional) A private key file in JSON format, used for Service Account Authentication.

Note Instead of a key file you can use Google Application Default Credentials.

rootdirectory: (optional) The root directory tree in which all registry files will be stored. Defaults to the empty string (bucket root).