Skip to content

feat(plugins): add seekrit secrets provider - #1331

Open
mileszim wants to merge 2 commits into
dmno-dev:mainfrom
mileszim:codex/seekrit-provider
Open

mileszim wants to merge 2 commits into
dmno-dev:mainfrom
mileszim:codex/seekrit-provider

Conversation

@mileszim

@mileszim mileszim commented Dec 3, 2026 •

Copy link
Copy Markdown

This adds @varlock/seekrit-plugin as a provider for applications that store their secrets in seekrit. DATABASE_URL=seekrit() reads a secret by its environment variable name. seekrit("STRIPE_SECRET_KEY") maps a different name, and @setValuesBulk(seekritBulk()) fills declared schema keys together.

The provider uses the seekrit JavaScript SDK to fetch the encrypted environment once per load and decrypt it locally. The service token is marked sensitive and internal. The PR adds seekrit to the Secrets platforms directory, with setup examples and tests using encrypted fixtures.

@mileszim mileszim changed the title feat(plugins): add a Seekrit secrets provider feat(plugins): add seekrit secrets provider Dec 3, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Approach: Sound: the provider bundles Seekrit's SDK and shares one locally decrypted environment across lookups, using Varlock's existing bulk-loading mechanism.

Reviewed changes include the provider, SDK contracts, encrypted-fixture tests, packaging, and documentation.

  • Provider: Adds token initialization, sensitive/internal token typing, inferred and explicit secret names, and bulk loading.
  • Credential handling: Excludes managed login files before interpolation and sanitizes SDK failure diagnostics.
  • Tests and packaging: Adds a single-file CJS bundle and encrypted fixtures; builds, Node/Bun tests, typecheck, and scoped lint passed.
  • Documentation: Covers local and CI setup, self-hosting, optional bulk keys, references, rotation, and proxy usage; the docs build passed.

Pullfrog  | View workflow run | Using gpt-6.1-sol | 𝕏

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant