Favicon of auth-tls-patterns

auth-tls-patterns Skill

AI Agent SkillPythonOpen source

Use when your service needs authentication that works without friction locally but secures remote access, automatic TLS certificate setup, or token-based auth with auto-generation and localhost bypass. Published by microsoft in amplifier-bundle-skills.

What is auth-tls-patterns Skill?

Use when your service needs authentication that works without friction locally but secures remote access, automatic TLS certificate setup, or token-based auth with auto-generation and localhost bypass. Published by microsoft in amplifier-bundle-skills. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
26/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Design and media
  • Design and media use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use auth-tls-patterns Skill

  • Use it for design and media.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/amplifier-bundle-skills
  • Skill file: skills/auth-tls-patterns/SKILL.md

What it does

Use when your service needs authentication that works without friction locally but secures remote access, automatic TLS certificate setup, or token-based auth with auto-generation and localhost bypass.

Skill instructions

Authentication & TLS The Pattern Problem: Your tool serves a web UI. Locally it should just work — no passwords, no login screens. Remotely it needs real authentication and HTTPS. You don't want to configure either manually. Approach: Socket-level localhost bypass (unforgeable), cascading auth strategies with auto-generation, and a TLS setup cascade that picks the best available method automatically. Pattern proven in production across multiple Python CLI tools and web services. Key Design Decisions 1. Localhost bypass — socket-level IP, not headers The single most important auth decision: localhost connections skip all auth checks. But you MUST use the socket-level client IP, not HTTP headers: python LOCALHOSTADDRS = {"127.0.0.1", "::1"} async def dispatch(self, request: Request, callnext) - Response: client.host is the socket-level IP — cannot be forged by the client clienthost = request.client.host if request.client else "" if clienthost in LOCALHOSTADDRS: return await callnext(requ

Explore related resources

Frequently asked questions

What is auth-tls-patterns?

auth-tls-patterns is a open-source AI agent skill with Copy skill directory. Use when your service needs authentication that works without friction locally but secures remote access, automatic TLS certificate setup, or token-based auth with auto-generation and localhost bypass.

Who is auth-tls-patterns best for?

auth-tls-patterns is best for reusing agent instructions, scripts, and references, design and media workflows.

How do I install auth-tls-patterns?

Install or run auth-tls-patterns using Copy skill directory. Check auth-tls-patterns for the latest setup command.

Is auth-tls-patterns actively maintained?

auth-tls-patterns may need a closer maintenance check before production use.

Share:

Stars
10
Forks
9
Last commit
9 days ago
Repository age
5 months
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to auth-tls-patterns