forked from TrueCloudLab/distribution
daa22cacba
This change refreshes the updated version of Azure SDK for Go that has the latest changes. I manually vendored the new SDK (github.com/Azure/azure-sdk-for-go) and I removed `management/` `core/` packages manually simply because they're not used here and they have a fork of `net/http` and `crypto/tls` for a particular reason. It was introducing a 44k SLOC change otherwise... This also undoes the `include_azure` flag (actually Steven removed the driver from imports but forgot to add the build flag apparently, so the flag wasn't really including azure. 😄 ). This also must be obsolete now. Fixes #620, #175. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
21 lines
1.2 KiB
Markdown
21 lines
1.2 KiB
Markdown
<!--GITHUB
|
|
page_title: Microsoft Azure storage driver
|
|
page_description: Explains how to use the Azure storage drivers
|
|
page_keywords: registry, service, driver, images, storage, azure
|
|
IGNORES-->
|
|
|
|
# Microsoft Azure storage driver
|
|
|
|
An implementation of the `storagedriver.StorageDriver` interface which uses [Microsoft Azure Blob Storage][azure-blob-storage] for object storage.
|
|
|
|
## Parameters
|
|
|
|
The following parameters must be used to authenticate and configure the storage driver (case-sensitive):
|
|
|
|
* `accountname`: Name of the Azure Storage Account.
|
|
* `accountkey`: Primary or Secondary Key for the Storage Account.
|
|
* `container`: Name of the root storage container in which all registry data will be stored. Must comply the storage container name [requirements][create-container-api].
|
|
* `realm`: (optional) Domain name suffix for the Storage Service API endpoint. Defaults to `core.windows.net`. For example realm for "Azure in China" would be `core.chinacloudapi.cn` and realm for "Azure Government" would be `core.usgovcloudapi.net`.
|
|
|
|
[azure-blob-storage]: http://azure.microsoft.com/en-us/services/storage/
|
|
[create-container-api]: https://msdn.microsoft.com/en-us/library/azure/dd179468.aspx
|