Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SecretVersion

import type { SecretVersion } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";

Configuration for a single version.

interface SecretVersion {
path?: string;
version?: string;
}

§Properties

§
path?: string
[src]

Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo.

§
version?: string
[src]

Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.