Skip to content

NeonPluginOptions

Defined in: plugins/holocron-plugin-neon/src/index.ts:19

Options for the Neon plugin: the token lookup inputs plus the project it is bound to.

optional baseUrl?: string

Defined in: plugins/holocron-plugin-neon/src/index.ts:26

Override base URL for tests.


optional cliToken?: string

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

The --token flag.

ResolveTokenInput.cliToken


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-neon/src/index.ts:28

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


optional projectId?: string

Defined in: plugins/holocron-plugin-neon/src/index.ts:24

Neon project id this plugin is bound to. Needed by the storage capability only: whoami, the connection probe and mintToken work without it, so holocron provider neon token loads with no Neon block in the config.