Skip to content

Secrets

Source: src/GitHub/Secrets.ts

Bulk-creates a set of {@link Secret}s in the same repository (and optionally the same environment).

Each entry in secrets becomes one GitHub.Secret resource, using the map key as both the alchemy logical id and the secret name.

yield* GitHub.Secrets({
owner: "alchemy-run",
repository: "alchemy-effect",
secrets: {
AXIOM_INGEST_TOKEN: tokenValue,
AXIOM_DATASET_TRACES: traces.name,
},
});