litestar-security
CommunitySecure Litestar APIs with defense-in-depth.
Authoralti3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a structured approach to securing Litestar services by combining authentication, authorization, and secret management patterns. It helps teams enforce consistent security contracts across endpoints, reduce misconfigurations, and improve auditable controls.
Core Features & Use Cases
- Defense-in-depth with configurable authentication backends (JWTAuth, SessionAuth, etc.)
- Guard-based authorization and per-route access control
- Endpoint inclusion/exclusion rules to precisely protect sensitive routes
- Safe secret handling with SecretString / SecretBytes to avoid leaking credentials
- Practical patterns and references for common security scenarios
Quick Start
Configure Litestar with a security backend and guard rules to protect sensitive endpoints.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: litestar-security Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-security Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.