Show / Hide Table of Contents

Class UpdateSecretDetails

Details for updating a secret.

Inheritance
object
UpdateSecretDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.VaultService.Models
Assembly: OCI.DotNetSDK.Vault.dll
Syntax
public class UpdateSecretDetails

Properties

CurrentVersionNumber

Declaration
[JsonProperty(PropertyName = "currentVersionNumber")]
public long? CurrentVersionNumber { get; set; }
Property Value
Type Description
long?

Details to update the secret version of the specified secret. The secret contents, version number, and rules can't be specified at the same time. Updating the secret contents automatically creates a new secret version.

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"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A brief description of the secret. Avoid entering confidential information.

EnableAutoGeneration

Declaration
[JsonProperty(PropertyName = "enableAutoGeneration")]
public bool? EnableAutoGeneration { get; set; }
Property Value
Type Description
bool?

The value of this flag determines whether or not secret content will be generated automatically.

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"}

Metadata

Declaration
[JsonProperty(PropertyName = "metadata")]
public Dictionary<string, object> Metadata { get; set; }
Property Value
Type Description
Dictionary<string, object>

Additional metadata that you can use to provide context about how to use the secret or during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.

RotationConfig

Declaration
[JsonProperty(PropertyName = "rotationConfig")]
public RotationConfig RotationConfig { get; set; }
Property Value
Type Description
RotationConfig

SecretContent

Declaration
[JsonProperty(PropertyName = "secretContent")]
public SecretContentDetails SecretContent { get; set; }
Property Value
Type Description
SecretContentDetails

SecretGenerationContext

Declaration
[JsonProperty(PropertyName = "secretGenerationContext")]
public SecretGenerationContext SecretGenerationContext { get; set; }
Property Value
Type Description
SecretGenerationContext

SecretRules

Declaration
[JsonProperty(PropertyName = "secretRules")]
public List<SecretRule> SecretRules { get; set; }
Property Value
Type Description
List<SecretRule>

A list of rules to control how the secret is used and managed.

In this article
Back to top