Skip to content

ResolveTokenInput

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

Where a token resolver looks for a token, beyond what it was configured with.

optional cliToken?: string

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

The --token flag.


optional env?: ProcessEnv

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

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


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


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.