Class UpdateSecretDetails
  Details for updating a secret.
    Inheritance
    
    UpdateSecretDetails
   
  
  
  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. | 
    
  
  
  
  
  
  Declaration
  
    [JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
   
  Property Value
  
  
  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. | 
    
  
  
  
  
  
  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"} | 
    
  
  
  
  
  
  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. | 
    
  
  
  ReplicationConfig
  
  
  Declaration
  
    [JsonProperty(PropertyName = "replicationConfig")]
public ReplicationConfig ReplicationConfig { get; set; }
   
  Property Value
  
  
  RotationConfig
  
  
  Declaration
  
    [JsonProperty(PropertyName = "rotationConfig")]
public RotationConfig RotationConfig { get; set; }
   
  Property Value
  
  
  SecretContent
  
  
  Declaration
  
    [JsonProperty(PropertyName = "secretContent")]
public SecretContentDetails SecretContent { get; set; }
   
  Property Value
  
  
  SecretGenerationContext
  
  
  Declaration
  
    [JsonProperty(PropertyName = "secretGenerationContext")]
public SecretGenerationContext SecretGenerationContext { get; set; }
   
  Property Value
  
  
  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. |