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.
Inherited Members
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 |