Skip to content

Kody is live

Watch the launch video — what Kody is, and why it exists.

← Public packages

@noah/bitwarden-secrets

Use Bitwarden Secrets Manager with Kody to securely store and use secrets in packages and ad hoc scripts, without ever exposing them to an AI agent.

index.ts

18 lines · 577 B · TypeScript
/**
 * Describe how to use the bound Bitwarden Secrets Manager provider.
 * This export never returns secret values.
 *
 * @returns Binding reminder and the placeholder grammar
 * @example
 * import status from 'kody:@noah/bitwarden-secrets'
 * const info = await status()
 */
export default async function status() {
	return {
		provider: 'bitwarden',
		placeholder: '{{secret/bitwarden:i/<secret-uuid>/value}}',
		example:
			'{{secret/bitwarden:i/00000000-0000-4000-8000-000000000000/value}}',
		note: './secretProvider is sealed and cannot be imported from execute.',
	}
}