Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Removing hardcoded parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
SnehaGunda authored Jun 27, 2019
1 parent fa8553f commit a24e863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ public class Program
/// <summary>
/// The Azure DocumentDB endpoint for running this GetStarted sample.
/// </summary>
private const string EndpointUrl = "https://localhost:8081";
private const string EndpointUrl = Environment.GetEnvironmentVariable("EndpointUrl");

/// <summary>
/// The primary key for the Azure DocumentDB account.
/// </summary>
private const string PrimaryKey = "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==";
private const string PrimaryKey = Environment.GetEnvironmentVariable("PrimaryKey");

/// <summary>
/// The DocumentDB client instance.
Expand Down

0 comments on commit a24e863

Please sign in to comment.