Document Network Broker private key environment variables - #2843
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
semgrep-jamie
force-pushed
the
jr/network-broker-private-key-env-var
branch
from
September 19, 2026 00:17
7d02b7d to
1abf947
Compare
semgrep-jamie
force-pushed
the
jr/network-broker-private-key-env-var
branch
from
September 19, 2026 00:20
1abf947 to
b055f78
Compare
Covers SEMGREP_NETWORK_BROKER_PRIVATE_KEY and SEMGREP_NETWORK_BROKER_PRIVATE_KEY_PATH, added in semgrep/semgrep-network-broker#170, with Docker and Kubernetes examples, precedence rules and the key length check. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
semgrep-jamie
force-pushed
the
jr/network-broker-private-key-env-var
branch
from
September 19, 2026 00:22
b055f78 to
df12caf
Compare
semgrep-jamie
marked this pull request as ready for review
September 19, 2026 15:17
semgrep-jamie
enabled auto-merge (squash)
September 19, 2026 18:07
abhijna
approved these changes
Sep 21, 2026
abhijna
left a comment
Collaborator
There was a problem hiding this comment.
@semgrep-jamie I started with inline suggestions, then realized halfway through that it would've been much easier if I'd just made the edits locally. 😅 Sorry for the extra clunkiness! Happy to take another look or redo if necessary.
Co-authored-by: Abhijna Parigi <abhijna@semgrep.com>
Co-authored-by: Abhijna Parigi <abhijna@semgrep.com>
Define the broker Deployment and link the sample manifest on first mention, remove a stray numbered fragment and duplicate intro, and label the two secret-injection options explicitly. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sister PR to semgrep/semgrep-network-broker#170, which adds two environment variables for supplying the private key outside the config file:
SEMGREP_NETWORK_BROKER_PRIVATE_KEY: the base64 key directlySEMGREP_NETWORK_BROKER_PRIVATE_KEY_PATH: a file containing the key, for mounted secretsThis adds a Provide the private key through the environment section to the Network Broker page, placed after the keypair steps and before the SCM configuration. It covers Docker (env var and mounted file) and Kubernetes (
secretKeyRefand mounted secret) examples, precedence rules, and the new 32-byte key length validation.Thanks for improving Semgrep Docs
Please ensure:
docs/docs.jsonif URLs changeddocs/extensions/pre-commit.md.template.mdx, CI regeneratespre-commit.mdxon this PR (no manualrun-build-scriptsneeded)main)