Repository navigation
Conversation
The tunnel examples showed real database usernames, which cannot work: every connection uses the fixed noop/noop placeholder. Adds a Credentials section covering the placeholders, the raw TCP and HTTP proxy exceptions, and why they are not the secret key used for native database access. �� Generated with Mister Maluco Co-Authored-By: MisterMal <teskeslab@lucasteske.dev>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
✅ Deploy Preview for decap-documentation ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
PR Summary by QodoDocument Hoop Tunnel credentials and connection exceptions
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can show, collapse, or hide each part of a finding: code, evidence, and all |
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.
Description
The Hoop Tunnel page showed connection examples using real database usernames:
psql -h pg-prod.hoop -U readonly mysql -h mysql-staging.hoop -u app -pNeither works. Every database reached through the tunnel uses the fixed
noop/noopplaceholder — the agent completes the client's login locally and authenticates upstream with the credentials stored on the connection. The page never mentioned this, so a reader following it would fail to connect and have no idea why.Companion to hoophq/hoop#1722 and hoophq/hsh#33, which make
hsh tunnel lsprint these credentials with a ready-to-paste command per connection.Changes
## Credentialssection — the placeholders, samplehsh tunnel lsoutput, GUI-client guidance, and the two exceptions that carry no credentials (raw TCP relays bytes untouched; HTTP proxy authorization is injected as headers by the agent).noop/noopworks only through a local Hoop listener (the tunnel orhoop connect). It is explicitly not the credential for native database access, which uses a per-user secret key that expires, can be revoked, and rejectsnoop. This distinction is the main thing the page was missing.hsh tunnel lsnow described as listing credentials too.Testing
npx mint broken-links— the one reported break (/api-referenceinconcepts/agents.mdx) is pre-existing and reproduces on a clean tree.Anchors verified:
## Credentials→#credentials, referenced twice on the page.Notes
I did not link the native-access mention to a page, because there isn't one that documents the secret-key flow —
creating-resource-rolescovers configuring resources, not obtaining credentials. Described it in prose instead rather than point somewhere misleading. Worth a follow-up page if that flow deserves its own docs.Automated by MisterMal