Class 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.
Inherited Members
Namespace: Oci.VaultService.Models
Assembly: OCI.DotNetSDK.Vault.dll
Syntax
public class SshKeyGenerationContext : SecretGenerationContext
Properties
GenerationTemplate
Declaration
[Required(ErrorMessage = "GenerationTemplate is required.")]
[JsonProperty(PropertyName = "generationTemplate")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SshKeyGenerationContext.GenerationTemplateEnum? GenerationTemplate { get; set; }
Property Value
Type | Description |
---|---|
SshKeyGenerationContext.GenerationTemplateEnum? | Name of SSH key generation template to generate SSH key type secret. |
Remarks
Required