-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
CmkEncryptionProperties.cs
34 lines (28 loc) · 2.22 KB
/
CmkEncryptionProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.FluidRelay.Models
{
/// <summary> All Customer-managed key encryption properties for the resource. </summary>
public partial class CmkEncryptionProperties
{
/// <summary> Initializes a new instance of CmkEncryptionProperties. </summary>
public CmkEncryptionProperties()
{
}
/// <summary> Initializes a new instance of CmkEncryptionProperties. </summary>
/// <param name="keyEncryptionKeyIdentity"> All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. </param>
/// <param name="keyEncryptionKeyUri"> key encryption key Url, with or without a version. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. Key auto rotation is enabled by providing a key uri without version. Otherwise, customer is responsible for rotating the key. The keyEncryptionKeyIdentity(either SystemAssigned or UserAssigned) should have permission to access this key url. </param>
internal CmkEncryptionProperties(CmkIdentity keyEncryptionKeyIdentity, Uri keyEncryptionKeyUri)
{
KeyEncryptionKeyIdentity = keyEncryptionKeyIdentity;
KeyEncryptionKeyUri = keyEncryptionKeyUri;
}
/// <summary> All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. </summary>
public CmkIdentity KeyEncryptionKeyIdentity { get; set; }
/// <summary> key encryption key Url, with or without a version. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. Key auto rotation is enabled by providing a key uri without version. Otherwise, customer is responsible for rotating the key. The keyEncryptionKeyIdentity(either SystemAssigned or UserAssigned) should have permission to access this key url. </summary>
public Uri KeyEncryptionKeyUri { get; set; }
}
}