plugin-authz

Implement HTTP authorization for NeMo Platform plugins with path rules and permission sets.

58|16|Updated May 14, 2026
One-click install
npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill plugin-authz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: plugin-authz
Source: https://github.com/NVIDIA-NeMo/nemo-platform/tree/main/packages/nemo_platform_plugin/src/nemo_platform_plugin/.agents/skills/plugin-authz
Command: npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill plugin-authz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the critical need for consistent, secure, and verifiable HTTP authorization across NeMo Platform plugins, preventing unauthorized access and ensuring compliance with platform security standards.

Core Features & Use Cases

  • Declarative Authorization: Enforce security using path rules and OAuth scopes directly on route handlers.
  • Permission Management: Define granular permission sets that integrate seamlessly with the platform's OPA bundle generation.
  • Use Case: When developing a new plugin, use this skill to define specific roles like PRINCIPAL or SERVICE_PRINCIPAL and map them to protected endpoints, ensuring that only authorized callers can execute sensitive operations like status updates or data modifications.

Quick Start

Use the plugin-authz skill to configure path rules and permission sets for your new service routes to ensure they are correctly registered in the platform security catalog.

Frequently Asked Questions about plugin-authz

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce authorization on FastAPI routes for NeMo Platform plugins?▼

To enforce authorization on FastAPI routes for NeMo Platform plugins, map route handlers to specific caller kinds and permission sets using declarative decorators like path_rule and AuthzScope. This ensures OPA bundle compliance and prevents unruled route exposure.

What is OPA bundle compliance for plugin security and how does it work?▼

OPA bundle compliance for plugin security requires defining namespace-fenced permission sets that integrate with the platform's security catalog. It validates plugin security posture by ensuring only authorized callers execute sensitive operations through registered route rules.

How do I configure path rules and OAuth scopes for protected endpoints?▼

To configure path rules and OAuth scopes for protected endpoints, apply the path_rule decorator directly to route handlers and define granular permission sets for caller kinds like PRINCIPAL or SERVICE_PRINCIPAL. This registers endpoints correctly in the platform security catalog.

Does this authorization approach prevent unauthorized access to sensitive API operations?▼

Yes, this authorization approach prevents unauthorized access to sensitive API operations by enforcing namespace-fenced permission definitions and validating that only roles like PRINCIPAL or SERVICE_PRINCIPAL can execute status updates or data modifications.

Why does my NeMo plugin route throw an unruled route exposure validation error?▼

An unruled route exposure validation error occurs when a NeMo plugin route lacks a defined path_rule and permission set mapping. Prevent this by decorating all route handlers with AuthzScope to ensure OPA bundle compliance and avoid unauthorized access.