title: How to get all secrets in one call Azure key vault
body: <p>I am using sample code explain here </p>
  
  <p><a href="https://github.com/Azure-Samples/app-service-msi-keyvault-dotnet" rel="noreferrer">https://github.com/Azure-Samples/app-service-msi-keyvault-dotnet</a></p>
  
  <p>but they only explained how can we get single secrete not list of secrete.</p>
  
  <p>so to get all secrete I'm using this code sample </p>
  
  <pre><code>var all = kv.GetSecretsAsync(url).GetAwaiter().GetResult();
  foreach (var secret in all)
  {
      secretlist.Add(secret.Id);
  }
  </code></pre>
  
  <p>but it is only getting the secret id, not value.
  I want to get all secrets value also so can anyone help how I can do this?</p>