-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Storage] Samples - Get account name, key, sas from environment if present #5321
[Storage] Samples - Get account name, key, sas from environment if present #5321
Conversation
const localFilePath = ""; | ||
const account = process.env.ACCOUNT_NAME || ""; | ||
const accountSas = process.env.ACCOUNT_SAS || ""; | ||
const localFilePath = "../README.md"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: could upload the source code file itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which source code file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"./advanced.js"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sample file names may change, readme will be present forever.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair, I was thinking there could be folder changes. This is good to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but pending on why we moved away from env vars for event hubs samples.
As long as we have an easy way for users to paste in things instead of having to set environment variables it is good. |
Fixes #4906 and #3450 partially.