Skip to content

Custom vaults docs#5701

Open
mheap wants to merge 3 commits into
mainfrom
custom-vaults-docs
Open

Custom vaults docs#5701
mheap wants to merge 3 commits into
mainfrom
custom-vaults-docs

Conversation

@mheap

@mheap mheap commented Jun 24, 2026

Copy link
Copy Markdown
Member

Description

Adds a Gateway how-to for custom vaults

Preview Links

/how-to/create-custom-vault/

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

Copilot AI review requested due to automatic review settings June 24, 2026 17:07
@mheap mheap requested a review from a team as a code owner June 24, 2026 17:07
@netlify

netlify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit a977b96
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a3d2848de2b6a00088692cf
😎 Deploy Preview https://deploy-preview-5701--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI 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.

Pull request overview

Adds Gateway documentation for creating and using a custom Vault backend, and links it from existing secrets management surfaces to improve discoverability.

Changes:

  • Adds a new Gateway how-to describing how to implement a custom vault backend in Lua and use Vault references in plugin configuration.
  • Updates the Secrets management landing page to include a new “Custom vault backend” card linking to the how-to.
  • Updates the Vault entity page to link to the new how-to and list “Custom vault backend” in the supported backends feature table.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

File Description
app/_landing_pages/gateway/secrets-management.yaml Adds a new card CTA pointing users to the custom vault how-to from the secrets management landing page.
app/_how-tos/gateway/create-custom-vault.md Introduces a new end-to-end how-to for implementing and testing a custom vault backend.
app/_gateway_entities/vault.md Adds cross-links to the new how-to and includes it in the supported backends feature table.

Comment on lines +95 to +98
| Function | Description |
|----------|-------------|
| `init(conf)` | Called once at startup. Use it to validate config or open persistent connections. |
| `get(conf, resource, version)` | Called to resolve a secret reference. Returns the secret value as a string, or `nil` if not found. `resource` is the key portion of the `{vault://prefix/key}` reference. |

Create `kong/vaults/http.lua`:

```lua

The schema declares the configuration fields exposed on the Vault entity. Create `kong/vaults/http/schema.lua`:

```lua

2. Create `docker-compose.yml`:

```yaml
Comment thread app/_how-tos/gateway/create-custom-vault.md Outdated
Comment thread app/_how-tos/gateway/create-custom-vault.md Outdated
Comment thread app/_how-tos/gateway/create-custom-vault.md Outdated
Comment thread app/_how-tos/gateway/create-custom-vault.md Outdated
@Guaris Guaris self-assigned this Jun 24, 2026
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.

3 participants