github.com/mika/distribution@v2.2.2-0.20160108133430-a75790e3d8e0+incompatible/docs/storage-drivers/gcs.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "GCS storage driver"
     4  description = "Explains how to use the Google Cloud Storage drivers"
     5  keywords = ["registry, service, driver, images, storage,  gcs, google, cloud"]
     6  +++
     7  <![end-metadata]-->
     8  
     9  
    10  # Google Cloud Storage driver
    11  
    12  An implementation of the `storagedriver.StorageDriver` interface which uses Google Cloud for object storage.
    13  
    14  ## Parameters
    15  
    16  `bucket`: The name of your Google Cloud Storage bucket where you wish to store objects (needs to already be created prior to driver initialization).
    17  
    18  `keyfile`: (optional) A private key file in JSON format, used for [Service Account Authentication](https://cloud.google.com/storage/docs/authentication#service_accounts).
    19  
    20  **Note** Instead of a key file you can use [Google Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials).
    21  
    22  `rootdirectory`: (optional) The root directory tree in which all registry files will be stored. Defaults to the empty string (bucket root).