Skip to content

docs(agent-proxy): document machine identity auth methods for start and connect - #7606

Open
saifsmailbox98 wants to merge 3 commits into
mainfrom
saif/age2-83-make-agent-proxy-support-all-machine-identity-auth-types
Open

docs(agent-proxy): document machine identity auth methods for start and connect#7606
saifsmailbox98 wants to merge 3 commits into
mainfrom
saif/age2-83-make-agent-proxy-support-all-machine-identity-auth-types

Conversation

@saifsmailbox98

Copy link
Copy Markdown
Contributor

Context

Docs for Infisical/cli#357, which lets agent-proxy start and agent-proxy connect authenticate with any machine identity auth method, not just Universal Auth.

The pages said Universal Auth was the only option in several places, so all of those are updated. The quickstart still uses Universal Auth, since it works on any host and is the simplest way to start, with a pointer to the other methods.

What changed, page by page

docs/cli/commands/agent-proxy.mdx

  • --auth-method, --machine-identity-id, --organization-slug and the per-method credential flags, on both start and connect
  • --token on start, and a note that it takes precedence over --auth-method
  • The connect section now says the credentials are scrubbed from the agent's environment whichever method they belong to, and that the agent's token is frozen at launch

docs/documentation/platform/agent-proxy/standalone-agent-proxy.mdx

  • Agent authentication section no longer says Universal Auth only
  • Configuration table covers the new inputs
  • Kubernetes and EC2 deployment tabs added, alongside the existing systemd, Docker and PaaS ones

docs/documentation/platform/agent-proxy/quickstart/standalone-proxy.mdx

  • One line pointing at the other methods

Two things the pages did not say before, and now do:

  • With kubernetes, aws-iam, azure and gcp-id-token there is no secret keeping the proxy identity separate from the agent identities, and the machine identity id is not a secret either. What keeps them separate is the auth method's own configuration. So the deployment section now says to scope Allowed Principal ARNs or Allowed Namespaces to the proxy host only. If you leave them empty, any host in the same account or cluster, including agent hosts, can authenticate as the proxy and read every secret it can read.
  • The proxy re-authenticates using the same credential every time. That works forever for client credentials, LDAP and the cloud methods, but not for jwt-auth or oidc-auth with a short-lived JWT.

Screenshots

Steps to verify the change

Type

  • Fix
  • Feature
  • Improvement
  • Breaking
  • Docs
  • Chore

Checklist

  • Title follows the conventional commit format: type(scope): short description (scope is optional, e.g., fix: prevent crash on sync or fix(api): handle null response).
  • Tested locally
  • Updated docs (if needed)
  • Updated CLAUDE.md files (if needed)
  • Read the contributing guide

…nd connect

The pages said Universal Auth was the only way both commands could
authenticate. Covers --auth-method and the per-method credentials on
each subcommand, --token on start, and adds Kubernetes and EC2
deployment tabs. The quickstart stays on Universal Auth with a pointer
to the rest.

Also records two things the pages never said: that with the ambient
methods it is the auth method's own configuration, not possession of a
secret, that keeps the proxy identity separate from the agents'; and
that jwt-auth and oidc-auth reuse the same JWT at every refresh, so a
short-lived one will not survive.
@linear

linear Bot commented Aug 10, 2026

Copy link
Copy Markdown

AGE2-83

@mintlify

mintlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
infisical 🟢 Ready View Preview Aug 10, 2026, 5:40 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@infisical-review-police

Copy link
Copy Markdown

💬 Discussion in Slack: #pr-review-infisical-7606-docs-agent-proxy-document-machine-identity-auth-methods

Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel.

@greptile-apps

greptile-apps Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This documentation update expands standalone Agent Proxy guidance from Universal Auth to all supported machine identity authentication methods.

  • Documents authentication flags, environment variables, credential inputs, precedence, and token-lifetime behavior for start and connect.
  • Adds Kubernetes and EC2 deployment examples with cloud-auth boundary guidance.
  • Updates the standalone quickstart to point readers toward alternative authentication methods.

Confidence Score: 4/5

The PR appears safe to merge after correcting the non-blocking authentication-method cross-reference.

The substantive authentication and deployment documentation presents no established blocking failure, but the quickstart sends readers to a security-model section rather than the supported-method guidance it promises.

Files Needing Attention: docs/documentation/platform/agent-proxy/quickstart/standalone-proxy.mdx

Important Files Changed

Filename Overview
docs/cli/commands/agent-proxy.mdx Adds comprehensive start and connect authentication reference material; no concrete defect was established from repository-local contracts.
docs/documentation/platform/agent-proxy/quickstart/standalone-proxy.mdx Adds an alternative-authentication cross-reference, but its anchor lands above the section containing the promised method guidance.
docs/documentation/platform/agent-proxy/standalone-agent-proxy.mdx Expands configuration and deployment guidance with Kubernetes and EC2 examples and explicit cloud-auth isolation warnings.

Reviews (1): Last reviewed commit: "docs(agent-proxy): document machine iden..." | Re-trigger Greptile

Comment thread docs/documentation/platform/agent-proxy/quickstart/standalone-proxy.mdx Outdated

@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: 392e8909b3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/documentation/platform/agent-proxy/standalone-agent-proxy.mdx
The isolation note named only the AWS and Kubernetes fields while the
deployment tabs recommend Azure and GCP too, which have the same guards
and enforce them only when set. Lists all four as a table instead.

The quickstart's auth methods link pointed at Agent authentication; the
list of methods is under The two commands.
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