.NET Technology Show

Backstage pass to all things ServiceStack & .NET

Listen

Using API Keys to secure .NET 8 APIs

Exploring the new C# API Keys Identity Auth feature and how its Admin UI enables simple fine-grained access control in ServiceStack .NET 8 APIs


This episode outlines the new API Keys feature in ServiceStack v8.3, which provides a way to secure access to .NET 8 APIs. It explains the benefits of using API Keys for machine-to-machine communication, and how they differ from traditional authentication methods.

It also discusses how to create, manage, and use API Keys in ServiceStack, including how to define scopes and features to control access to different resources.

Additionally, it explores the user interfaces for managing API Keys in the API Explorer, Admin UI, and Identity Auth pages, along with the options for customizing these interfaces.

Finally, the document demonstrates how to configure API Key usage in C# and TypeScript client applications.

Getting Started

Existing Identity Auth projects can enable API Keys by running:

x mix apikeys

Videos