Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getSecretSync
import { getSecretSync } 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. This is a synchronous version of getSecret.

Parameters

name: string

The name of the secret

Returns

string

The secret value