A Golang CLI for uploading, fetching and deleting content to/from Azure Blob Storage. TODO: This tool exists to work with the bosh-cli and director.
git clone https://github.com/bingosummer/bosh-azureblobcli $GOPATH/src/github.com/cloudfoundry/bosh-azureblobcli
bosh-azureblobcli --help
bosh-azureblobcli -c config.json put <path/to/file> <remote-blob>
bosh-azureblobcli -c config.json get <remote-blob> <path/to/file>
bosh-azureblobcli -c config.json delete <remote-blob>
bosh-azureblobcli -c config.json exists <remote-blob>```
The command line tool expects a JSON configuration file. Run bosh-azureblobcli --help
for details.
static
:storage_account_name
andstorage_account_access_key
will be provided.none
: No credentials are provided. The client is reading from a public bucket.env_or_profile
: The environmentstorage_account_name
andstorage_account_access_key
will be provided.
- A Makefile is provided that automates integration testing. Try
make help
to get started. - gvt is used for vendoring.
For details on how to contribute to this project - including filing bug reports and contributing code changes - please see CONTRIBUTING.md.
This tool is licensed under Apache 2.0. Full license text is available in LICENSE.