Class WrappingKey
The public RSA wrapping key associated with the vault
Inherited Members
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class WrappingKey
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains this key. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the key. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WrappingKey.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
WrappingKey.LifecycleStateEnum? | The key's current lifecycle state.
|
Remarks
Required
PublicKey
Declaration
[Required(ErrorMessage = "PublicKey is required.")]
[JsonProperty(PropertyName = "publicKey")]
public string PublicKey { get; set; }
Property Value
Type | Description |
---|---|
string | The public key, in PEM format, to use to wrap the key material before importing it. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the key was created, expressed in RFC 3339 timestamp format.
|
Remarks
Required
VaultId
Declaration
[Required(ErrorMessage = "VaultId is required.")]
[JsonProperty(PropertyName = "vaultId")]
public string VaultId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the vault that contains this key. |
Remarks
Required