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

EnvironmentVariable

import type { EnvironmentVariable } from "https://googleapis.deno.dev/v1/firebaseapphosting:v1.ts";

Environment variables for this build.

interface EnvironmentVariable {
availability?: "AVAILABILITY_UNSPECIFIED" | "BUILD" | "RUNTIME"[];
secret?: string;
value?: string;
variable?: string;
}

§Properties

§
availability?: "AVAILABILITY_UNSPECIFIED" | "BUILD" | "RUNTIME"[]
[src]

Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND.

§
secret?: string
[src]

A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the secretmanager.versions.access permission on the secret.

§
value?: string
[src]

A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration.

§
variable?: string
[src]

Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with "FIREBASE" or "GOOGLE". - May not be a reserved environment variable for KNative/Cloud Run