Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace 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.

Properties

generationTemplate

generationTemplate: GenerationTemplate

Name of passphrase generation template to generate passphrase type secret.

Const generationType

generationType: string = "PASSPHRASE"

Optional passphraseLength

passphraseLength: undefined | number

Length of the passphrase to be generated Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional secretTemplate

secretTemplate: undefined | string

SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.

Methods

getDeserializedJsonObj

getJsonObj