Class CreateVaultDetails
The details of the vault that you want to create.
Inherited Members
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class CreateVaultDetails
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 where you want to create this vault. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. |
Remarks
Required
ExternalKeyManagerMetadata
Declaration
[JsonProperty(PropertyName = "externalKeyManagerMetadata")]
public ExternalKeyManagerMetadata ExternalKeyManagerMetadata { get; set; }
Property Value
Type | Description |
---|---|
ExternalKeyManagerMetadata |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} |
VaultType
Declaration
[Required(ErrorMessage = "VaultType is required.")]
[JsonProperty(PropertyName = "vaultType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateVaultDetails.VaultTypeEnum? VaultType { get; set; }
Property Value
Type | Description |
---|---|
CreateVaultDetails.VaultTypeEnum? | The type of vault to create. Each type of vault stores the key with different degrees of isolation and has different options and pricing. |
Remarks
Required