Show / Hide Table of Contents

Class PassphraseGenerationContext

Generates Passphrase type secrets. By default, passphrase type secrets have no structure. The generated content is stored in Base64 format. The SecretTemplate must have the %GENERATED_PASSPHRASE% keyword, which is later replaced with the generated content, if provided.

Inheritance
object
SecretGenerationContext
PassphraseGenerationContext
Inherited Members
SecretGenerationContext.SecretTemplate
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 PassphraseGenerationContext : SecretGenerationContext

Properties

GenerationTemplate

Declaration
[Required(ErrorMessage = "GenerationTemplate is required.")]
[JsonProperty(PropertyName = "generationTemplate")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PassphraseGenerationContext.GenerationTemplateEnum? GenerationTemplate { get; set; }
Property Value
Type Description
PassphraseGenerationContext.GenerationTemplateEnum?

Name of passphrase generation template to generate passphrase type secret.

Remarks

Required

PassphraseLength

Declaration
[JsonProperty(PropertyName = "passphraseLength")]
public int? PassphraseLength { get; set; }
Property Value
Type Description
int?

Length of the passphrase to be generated

In this article
Back to top