Adding secrets to Azure Key Vault using C# API

Using the C# Azure API it is possible to create secrets that are stored in the Azure Key Vault.

var response = await client.SetSecretWithHttpMessagesAsync(
   this.keyVaultBaseUrl,
   "secret name",
   "secret contents",
   secretAttributes: secretAttributes,
   cancellationToken: cancellationToken)
   .ConfigureAwait(false);