Skip to content

Commit

Permalink
Merge pull request #11 from msmbaldwin/track2
Browse files Browse the repository at this point in the history
Updated names
  • Loading branch information
msmbaldwin authored Nov 5, 2019
2 parents 6b7dab5 + b4858e0 commit 2d1ba11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions key-vault-console-app/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ static void Main(string[] args)
Console.WriteLine("Retrieving your secret from " + keyVaultName + ".");

// <getsecret>
Secret secret = client.GetSecret(secretName);
KeyVaultSecret secret = client.GetSecret(secretName);
// </getsecret>

Console.WriteLine("Your secret is '" + secret.Value + "'.");

Console.Write("Deleting your secret from " + keyVaultName + " ...");

// <deletesecret>
client.DeleteSecret(secretName);
client.StartDeleteSecret(secretName);
// </deletesecret>

System.Threading.Thread.Sleep(5000);
Expand Down

0 comments on commit 2d1ba11

Please sign in to comment.