Skip to content

NetlifyPluginOptions

Defined in: plugins/holocron-plugin-netlify/src/index.ts:18

Options for the Netlify plugin: the token lookup inputs plus the deployment settings.

optional accountId?: string

Defined in: plugins/holocron-plugin-netlify/src/capabilities/deployment.ts:57

Required for listEnvVars / setEnvVar (Netlify’s env var API is scoped to /accounts/{account_id}/env, by id — not slug).

NetlifyDeploymentOptions.accountId


optional accountSlug?: string

Defined in: plugins/holocron-plugin-netlify/src/capabilities/deployment.ts:52

Required for ensureProject / listProjects (create/list use Netlify’s /{account_slug}/sites path).

NetlifyDeploymentOptions.accountSlug


optional baseUrl?: string

Defined in: plugins/holocron-plugin-netlify/src/index.ts:20

Override base URL for tests.


optional cliToken?: string

Defined in: cli/kyber/dist/secrets.d.mts:125

The --token flag.

ResolveTokenInput.cliToken


optional domain?: string

Defined in: plugins/holocron-plugin-netlify/src/capabilities/deployment.ts:59

Custom domain holocron setup should attach to the site.

NetlifyDeploymentOptions.domain


optional env?: ProcessEnv

Defined in: cli/kyber/dist/secrets.d.mts:127

The environment to read. Default process.env; a test passes its own.

ResolveTokenInput.env


optional fetch?: (input, init?) => Promise<Response>

Defined in: plugins/holocron-plugin-netlify/src/index.ts:22

Override fetch for tests.

string | URL | Request

RequestInit

Promise<Response>


optional keyring?: (account) => string | null

Defined in: cli/kyber/dist/secrets.d.mts:129

Looks an account up in the keyring. Replaces the configured lookup and the credential store; a test passes its own.

string

string | null

ResolveTokenInput.keyring


optional org?: string

Defined in: cli/kyber/dist/secrets.d.mts:131

The active org. It selects the keyring account <service>.<org> first. Default: the variable orgEnvName names.

ResolveTokenInput.org