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.