Skip to content

docs: add Vault KV export how-to#590

Merged
EffortlessSteven merged 1 commit into
mainfrom
docs/howto-vault-kv-export
May 12, 2026
Merged

docs: add Vault KV export how-to#590
EffortlessSteven merged 1 commit into
mainfrom
docs/howto-vault-kv-export

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Pure docs PR. Task-first how-to for Vault KV-v2 fixture export. Part of the Phase 4 task-first user-paths sweep.

Summary

  • Adds docs/how-to/export-vault-kv-fixtures.md documenting the bundle --profile scanner-safe plus export vault-kv-json workflow.
  • Shows the actual KV-v2 JSON shape (data + metadata) the CLI emits.
  • States the proves / does-not-prove boundary so consumers do not mistake the export for a Vault server, policy model, auth flow, or version semantics.
  • Cross-links the K8s, OIDC, and TLS how-to analogues plus the v0.7.0 category notes.

Files

  • docs/how-to/export-vault-kv-fixtures.md (new)

Test plan

  • cargo xtask docs-sync --check passes
  • cargo xtask typos passes
  • git diff --check clean (no trailing whitespace / mixed line endings)
  • No code, policy, or CHANGELOG changes (docs-only PR; collective entry will land in the eventual v0.8.0 release PR)

Phase 4 task-first how-to closing the user-facing Vault KV-v2 workflow.
Documents the `export vault-kv-json` path from a scanner-safe bundle,
its actual JSON shape, and the proves/does-not-prove boundary.
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented May 12, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 10 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d43d84a3-ba54-4e05-9b76-daa643e6906b

📥 Commits

Reviewing files that changed from the base of the PR and between e1f2f0a and e1db01b.

📒 Files selected for processing (1)
  • docs/how-to/export-vault-kv-fixtures.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/howto-vault-kv-export

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e1db01bbdf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +44 to +47
The export writes a top-level `data` map keyed by artifact name, plus a
`metadata` map recording the export's source and mode. The shape mirrors
a Vault KV-v2 read response well enough that a consumer parser can be
pointed at the file:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Document the KV-v2 nesting accurately

When downstream code uses a Vault client/parser expecting a real KV-v2 read result, this guidance points it at a different JSON contract: Vault KV-v2 read output nests the secret fields under an outer data object (data.data and data.metadata), while this export writes only the inner data/metadata object at the top level. Please describe the file as the inner KV-v2 payload (or adjust the sample shape), otherwise users can get false confidence from tests that never parse the actual Vault response shape.

Useful? React with 👍 / 👎.

@EffortlessSteven EffortlessSteven merged commit e8aa96c into main May 12, 2026
5 checks passed
@EffortlessSteven EffortlessSteven mentioned this pull request May 12, 2026
4 tasks
EffortlessSteven added a commit that referenced this pull request May 12, 2026
TLS contract-pack and public crate-surface cleanup release. Bumps
workspace to 0.8.0. CHANGELOG entry curated from merged PRs:
#485-#605 (TLS lane #585/#587/#588/#589, task-first how-tos
#590-#594, SRP collapse #595/#598/#599/#602, migration guide #603,
Clippy ratchets #505, dep bumps #484-#491).
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