Show / Hide Table of Contents

Class WrappingKey

The public RSA wrapping key associated with the vault

Inheritance
object
WrappingKey
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.
Example: ENABLED

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.
Example: 2018-04-03T21:10:29.600Z

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

In this article
Back to top