1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs(azblob): correct auth to Azure storage service (#4439)

I corected documentation for upload blobs to azure Storage Service from
[used
library](53ccd8db26/blob/azureblob/azureblob.go (L30)).
This commit is contained in:
Libor Ondrušek 2023-11-25 00:17:45 +01:00 committed by GitHub
parent 9d2162b61c
commit 6bce81c0be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -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)!

View File

@ -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
```
- `AZURE_STORAGE_ACCOUNT`
- `AZURE_STORAGE_KEY` or `AZURE_STORAGE_SAS_TOKEN`
Storage account is set over URL param `storage_account` in `bucket` or in environment variable `AZURE_STORAGE_ACCOUNT`
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)