Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Blob Storage Shared Access Signature (SAS) does not work #3309

Closed
marcino239 opened this issue Feb 8, 2021 · 3 comments
Closed

Azure Blob Storage Shared Access Signature (SAS) does not work #3309

marcino239 opened this issue Feb 8, 2021 · 3 comments
Labels
stale A stale issue or PR that will automatically be closed.

Comments

@marcino239
Copy link

Describe the bug
When using Azure Blob SAS token instead of Account Key, Loki throws this error:

illegal base64 data at input byte 0
error initialising module: table-manager
github.com/cortexproject/cortex/pkg/util/modules.(*Manager).initModule
/src/loki/vendor/github.com/cortexproject/cortex/pkg/util/modules/modules.go:105

To Reproduce
Steps to reproduce the behavior:

  1. Started Loki grafana/loki:2.1.0
  2. Started Promtail (SHA or version) grafana/promtail:2.1.0

Expected behavior
Loki should accept SAS token

Environment:
Kubernetes 1.16.13
Helm 3.5.1

Loki works with Azure Blob Account Keys, but they are not recommended due to very wide permissions

@stale
Copy link

stale bot commented Mar 19, 2021

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Mar 19, 2021
@stale stale bot closed this as completed Jun 5, 2021
@racrocri
Copy link

Hi, just here to add my voice to the fact that this is indeed an anticipated feature !
I am working with an Azure reseller that only allows Shared Access Signatures and I am therefore unable to use Loki in that context.

Is there any way to help move this forward ?

@nholik
Copy link

nholik commented Jul 20, 2023

Is there any way to help move this forward ?

This thanos-io/objstore#52 would need to move forward first, then I could submit a PR for loki to utilize it. It is a niche use case, but adding to the discussion on the issue and PR could help move it forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale A stale issue or PR that will automatically be closed.
Projects
None yet
Development

No branches or pull requests

3 participants