What problem does it solve?
Securing HTTP endpoints in Golem agents requires coordinating Rust attribute macros with deployment configuration, and getting either side wrong leaves endpoints unintentionally public or locked. This Skill guides you through enabling authentication correctly at both the code and deployment levels.
Core Features & Use Cases
- Mount-Level Authentication: Set
auth = true on #[agent_definition] to require authentication for every endpoint on an agent.
- Per-Endpoint Control: Enable or override authentication on individual
#[endpoint] attributes, including opting specific routes out of mount-level auth.
- Deployment Configuration: Connect secured agents to OIDC security schemes or test session headers in
golem.yaml.
- Use Case: You have a Rust Golem agent exposing both a public health check and private data endpoints. Use this Skill to require auth on the private routes while keeping
/health open, then wire up the OIDC security scheme for deployment.
Quick Start
Ask the AI to add authentication to the private endpoints of your Rust Golem agent while leaving the health check endpoint public.