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

[Storage] Samples - Get account name, key, sas from environment if present #5321

Merged
merged 2 commits into from
Oct 2, 2019

Conversation

HarshaNalluru
Copy link
Member

@HarshaNalluru HarshaNalluru commented Sep 30, 2019

Fixes #4906 and #3450 partially.

@HarshaNalluru HarshaNalluru changed the title Automate samples [Storage] Get account name, key, sas from environment if present Sep 30, 2019
@HarshaNalluru HarshaNalluru self-assigned this Sep 30, 2019
@HarshaNalluru HarshaNalluru added Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files) labels Sep 30, 2019
@HarshaNalluru HarshaNalluru changed the title [Storage] Get account name, key, sas from environment if present [Storage] Samples - Get account name, key, sas from environment if present Sep 30, 2019
const localFilePath = "";
const account = process.env.ACCOUNT_NAME || "";
const accountSas = process.env.ACCOUNT_SAS || "";
const localFilePath = "../README.md";
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

Which source code file?

Copy link
Member

Choose a reason for hiding this comment

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

"./advanced.js"

Copy link
Member Author

@HarshaNalluru HarshaNalluru Oct 2, 2019

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.

Copy link
Member

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.

Copy link
Member

@jeremymeng jeremymeng 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, but pending on why we moved away from env vars for event hubs samples.

@jeremymeng
Copy link
Member

As long as we have an easy way for users to paste in things instead of having to set environment variables it is good.

@HarshaNalluru HarshaNalluru merged commit ba232d1 into Azure:feature/storage Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants