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

fix azure blob exporter #63

Closed

Conversation

arnaud-tincelin
Copy link
Collaborator

Fix 404 error on azure blob exporter

@arnaud-tincelin arnaud-tincelin force-pushed the fix-storage-exporter branch 2 times, most recently from 251c430 to 196fe00 Compare June 1, 2021 09:37
Copy link
Member

@Tatsinnit Tatsinnit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Looks good! 👍

Thanks, fyi: @JunSun17 for another set of eyes.

pipeline := azblob.NewPipeline(azblob.NewAnonymousCredential(), azblob.PipelineOptions{})
accountName := os.Getenv("AZURE_BLOB_ACCOUNT_NAME")
sasKey := os.Getenv("AZURE_BLOB_SAS_KEY")
cred, err := azblob.NewSharedKeyCredential(accountName, sasKey)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, it will not work with a SAS key, I will close the PR

@Tatsinnit Tatsinnit self-requested a review June 3, 2021 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants