Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getSecret
import { getSecret } from "https://deno.land/x/cicada@v0.1.2/lib.ts";

Get a secret value from the secrets directory. The secret is only available during the job if it is specified in the job options.

Parameters

name: string

The name of the secret

Returns

Promise<string>

The secret value