Exemplo n.º 1
0
 public Task <KeyBundle> CreateKey(CreateKeyData createKeyData)
 => _keyVaultClient.CreateKeyAsync(_config.KeyVaultUrl, createKeyData.KeyName, createKeyData.KeyType.MapKeyType(), createKeyData.KeySize, null, createKeyData.CreateAttributes(), createKeyData.Tags, createKeyData.KeyCurve.MapKeyCurve());
 public static KeyAttributes CreateAttributes(this CreateKeyData createKeyData)
 => new KeyAttributes(createKeyData.IsEnabled, createKeyData.StartsAt, createKeyData.ExpiresAt);