By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Agents in CI with OIDC

Agent actions for Claude Code, Codex, and Gemini CLI run inside GitHub workflows, and several can reach model providers on Bedrock, Vertex AI, or Google Cloud through OIDC instead of long lived keys. Scope the cloud trust policy to the repository, branch, and workflow that runs the agent. Keep the workflow token's own permissions minimal too.

Read in this order

  1. OfficialClaude Code GitHub ActionsStart here: a real agent in a workflow, including cloud provider auth options.
  2. OfficialGitHub: Use GITHUB_TOKEN for authentication in workflowsTrim GITHUB_TOKEN permissions so a hijacked agent can do less.
  3. OfficialGitHub Actions: OpenID ConnectThe OIDC claims you pin in a cloud trust policy.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.