Show / Hide Table of Contents

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.

Inheritance
object
SecretGenerationContext
SshKeyGenerationContext
Inherited Members
SecretGenerationContext.SecretTemplate
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top