CreateSecretRequest: {
    description?: string;
    ephemeralPolicy?: Secret.v1alpha1.EphemeralPolicy;
    isProtected: boolean;
    name: string;
    path?: string;
    projectId?: string;
    region?: Region;
    tags?: string[];
    type?: Secret.v1alpha1.SecretType;
}

Type declaration

  • Optionaldescription?: string

    Description of the secret.

  • OptionalephemeralPolicy?: Secret.v1alpha1.EphemeralPolicy

    (Optional.) Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.

  • isProtected: boolean

    A protected secret cannot be deleted.

  • name: string

    Name of the secret.

  • Optionalpath?: string

    (Optional.) Location of the secret in the directory structure. If not specified, the path is /.

  • OptionalprojectId?: string

    ID of the Project containing the secret.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • Optionaltags?: string[]

    List of the secret's tags.

  • Optionaltype?: Secret.v1alpha1.SecretType

    (Optional.) See Secret.Type enum for description of values. If not specified, the type is Opaque.