Show / Hide Table of Contents

Class SecretContentDetails

The content of the secret and metadata to help identify it.

Inheritance
object
SecretContentDetails
Base64SecretContentDetails
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
[JsonConverter(typeof(SecretContentDetailsModelConverter))]
public class SecretContentDetails

Properties

Name

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

Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

Stage

Declaration
[JsonProperty(PropertyName = "stage")]
[JsonConverter(typeof(StringEnumConverter))]
public SecretContentDetails.StageEnum? Stage { get; set; }
Property Value
Type Description
SecretContentDetails.StageEnum?

The rotation state of the secret content. The default is CURRENT, meaning that the secret is currently in use. A secret version that you mark as PENDING is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as PENDING if you haven't yet updated the secret on the target system. When creating a secret, only the value CURRENT is applicable, although the value LATEST is also automatically applied. When updating a secret, you can specify a version's rotation state as either CURRENT or PENDING.

In this article
Back to top