Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace BytesGenerationContext

Generates random bytes. By default, secrets of type Bytes has no structure. The generated bytes are stored as a Base64 encoded string. The SecretTemplate must have the %GENERATED_BYTES% keyword which is replaced with the generated bytes, if provided

Properties

generationTemplate

generationTemplate: GenerationTemplate

Name of random bytes generation template for generating random byte type secret.

Const generationType

generationType: string = "BYTES"

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