Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace SshKeyGenerationContext

Generates ssh keys. By default, the keys are stored as - {"publicKey": "%GENERATED_PUBLIC_KEY%", "privateKey": "%GENERATED_PRIVATE_KEY%"} in PEM format. The SecretTemplate must have both %GENERATED_PUBLIC_KEY% and %GENERATED_PRIVATE_KEY% keywords which is later replaced with the respective keys, if provided.

Properties

generationTemplate

generationTemplate: GenerationTemplate

Name of SSH key generation template to generate SSH key type secret.

Const generationType

generationType: string = "SSH_KEY"

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