Show / Hide Table of Contents

Class 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

Inheritance
object
SecretGenerationContext
BytesGenerationContext
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 BytesGenerationContext : SecretGenerationContext

Properties

GenerationTemplate

Declaration
[Required(ErrorMessage = "GenerationTemplate is required.")]
[JsonProperty(PropertyName = "generationTemplate")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BytesGenerationContext.GenerationTemplateEnum? GenerationTemplate { get; set; }
Property Value
Type Description
BytesGenerationContext.GenerationTemplateEnum?

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

Remarks

Required

In this article
Back to top