adrielc/helios-alpha/golem-add-http-auth-rust

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Enabling authentication on Rust HTTP endpoints. Use when the user asks to add auth, require authentication, or protect HTTP endpoints.

Install

npx vskill@latest install adrielc/helios-alpha/golem-add-http-auth-rust

SKILL.md

Enabling Authentication on Rust HTTP Endpoints

Overview

Golem supports authentication on HTTP endpoints via OIDC providers. Authentication is enabled in the agent code and configured via security schemes in golem.yaml. Load the golem-configure-api-domain skill for details on setting up security schemes and domain deployments.

Enabling Auth on All Endpoints (Mount Level)

Set auth = true on #[agent_definition] to require authentication for all endpoints:

rust
#[agent_definition(mount = "/secure/{name}", auth = true)]
pub trait SecureAgent {
fn new(name: String) -> Self;
// All endpoints require authentication
}

Enabling Auth on Individual Endpoints

Set auth = true on specific #[endpoint] attributes:

rust
#[agent_definition(mount = "/api/{name}")]
pub trait ApiAgent {
fn new(name: String) -> Self;
#[endpoint(get = "/public")]
fn public_data(&self) -> String;
#[endpoint(get = "/private", auth = true)]
fn private_data(&self) -> String;
}

Overriding Mount-Level Auth

Per-endpoint auth overrides the mount-level setting:

rust
#[agent_definition(mount = "/api/{name}", auth = true)]
pub trait MostlySecureAgent {
fn new(name: String) -> Self;
#[endpoint(get = "/health", auth = false)]
fn health(&self) -> String; // No auth required
#[endpoint(get = "/data")]
fn get_data(&self) -> Data; // Auth required (inherited)
}

Deployment Configuration

After enabling auth = true in code, you must configure a security scheme in golem.yaml. Load the golem-configure-api-domain skill for the full details. Quick reference:

yaml
httpApi:
deployments:
local:
- domain: my-app.localhost:9006
agents:
SecureAgent:
securityScheme: my-oidc # For production OIDC
# or for development:
# SecureAgent:
# testSessionHeaderName: X-Test-Auth

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/adrielc/helios-alpha/golem-add-http-auth-rust/badge)](https://verified-skill.com/skills/adrielc/helios-alpha/golem-add-http-auth-rust)

Something wrong with this skill or its page? Tell us.