Ejemplo n.º 1
0
 public Task CreateSecret(CreateSecretData createSecretData)
 => _keyVaultClient.SetSecretAsync(_config.KeyVaultUrl, createSecretData.SecretName, createSecretData.Value, createSecretData.Tags, createSecretData.ContentType, createSecretData.CreateAttributes());
 public static SecretAttributes CreateAttributes(this CreateSecretData createSecretData)
 => new SecretAttributes(createSecretData.IsEnabled, createSecretData.StartsAt, createSecretData.ExpiresAt);