Skip to content

Commit

Permalink
docs(azblob): correct auth to Azure storage service (#4439)
Browse files Browse the repository at this point in the history
I corected documentation for upload blobs to azure Storage Service from
[used
library](https://github.com/google/go-cloud/blob/53ccd8db26a14fd2a40bfcb28af1a1ceba4663f4/blob/azureblob/azureblob.go#L30).
  • Loading branch information
librucha committed Nov 24, 2023
1 parent 9d2162b commit 6bce81c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions USERS.md
Expand Up @@ -80,6 +80,7 @@ Here's a running list of some organizations using GoReleaser[^1]:
1. [Zitatel](https://zitadel.com)
1. [pdfcpu](https://pdfcpu.io)
1. [prestd](https://prestd.com)
1. [Rixo](https://www.rixo.cz)

Feel free to [add yours](https://github.com/goreleaser/goreleaser/edit/main/USERS.md)!

Expand Down
15 changes: 11 additions & 4 deletions www/docs/customization/blob.md
Expand Up @@ -108,11 +108,18 @@ chain in the following order:

### Azure Blob Provider

It supports authentication only with
[environment variables](https://docs.microsoft.com/en-us/azure/storage/common/storage-azure-cli#set-default-azure-storage-account-environment-variables):
```yaml
blobs:
- provider: azblob
bucket: releases?storage_account=myazurestorage
```

Storage account is set over URL param `storage_account` in `bucket` or in environment variable `AZURE_STORAGE_ACCOUNT`

- `AZURE_STORAGE_ACCOUNT`
- `AZURE_STORAGE_KEY` or `AZURE_STORAGE_SAS_TOKEN`
It supports authentication with
- [environment variables](https://docs.microsoft.com/en-us/azure/storage/common/storage-azure-cli#set-default-azure-storage-account-environment-variables):
- `AZURE_STORAGE_KEY` or `AZURE_STORAGE_SAS_TOKEN`
- [default Azure credential](https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication-service-principal)

### [GCS Provider](https://cloud.google.com/docs/authentication/production)

Expand Down

0 comments on commit 6bce81c

Please sign in to comment.