title: List secrets in a KeyVault without logging in for every secret?
body: <p>I've successfully managed to list all of the secrets in an Azure KeyVault - however I need to make a call to get a token each time I want to get the next secret. </p>
  
  <p>How do I store the credentials so I only have to login once during the loop?</p>
  
  <pre><code>    public async Task&lt;List&lt;string&gt;&gt; getsecretslist(string url)
      {
  
          var kv = new KeyVaultClient(new KeyVaultClient.AuthenticationCallback(GetToken));
  
          List&lt;string&gt; secretlist = new List&lt;string&gt;(); 
          var all = kv.GetSecretsAsync(url);
          var myId = "";
          foreach (Microsoft.Azure.KeyVault.Models.SecretItem someItem in all.Result)
          {
              myId = someItem.Id;
              var mOtherThing = someItem.Identifier;
              var yep = await kv.GetSecretAsync(mOtherThing.ToString());
              secretlist.Add(yep.Value);
          }
  
          return secretlist;
      }
  </code></pre>