IdentityFlow.Credentials.ApiKeys 0.1.0-alpha.20260722083539

This is a prerelease version of IdentityFlow.Credentials.ApiKeys.
dotnet add package IdentityFlow.Credentials.ApiKeys --version 0.1.0-alpha.20260722083539
                    
NuGet\Install-Package IdentityFlow.Credentials.ApiKeys -Version 0.1.0-alpha.20260722083539
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IdentityFlow.Credentials.ApiKeys" Version="0.1.0-alpha.20260722083539" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IdentityFlow.Credentials.ApiKeys" Version="0.1.0-alpha.20260722083539" />
                    
Directory.Packages.props
<PackageReference Include="IdentityFlow.Credentials.ApiKeys" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IdentityFlow.Credentials.ApiKeys --version 0.1.0-alpha.20260722083539
                    
#r "nuget: IdentityFlow.Credentials.ApiKeys, 0.1.0-alpha.20260722083539"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IdentityFlow.Credentials.ApiKeys@0.1.0-alpha.20260722083539
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IdentityFlow.Credentials.ApiKeys&version=0.1.0-alpha.20260722083539&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=IdentityFlow.Credentials.ApiKeys&version=0.1.0-alpha.20260722083539&prerelease
                    
Install as a Cake Tool

IdentityFlow.Credentials.ApiKeys

Scoped API key credentials for service-to-service and legacy integrations.

services.AddIdentityFlowCredentials()
    .AddApiKeyCredentials(options =>
    {
        options.Prefix = "ifk";
    });

Raw API keys are returned only from create/rotate operations. Stores persist lookup prefixes, hashes, metadata, scopes, and lifecycle timestamps.

Issued keys use the versioned prefix_v1_selector.secret envelope. The independently random selector is the durable lookup key, so changing issuance options does not invalidate existing keys. Authentication rejects malformed, whitespace-altered, and oversized values before store or hash work.

Best-effort usage metadata is coalesced to one write per five minutes by default. Usage updates are monotonic and do not participate in secret/revocation concurrency; set MinimumUsageWriteInterval explicitly to change the interval or to null for an update on every later timestamp.

AddApiKeyCredentials() uses InMemoryApiKeyStore by default for development and simple local setups. Register IdentityFlow.Credentials.ApiKeys.EntityFramework with AddIdentityFlowApiKeysEntityFrameworkStore() to persist API keys through IdentityFlowDbContext, or replace IIdentityFlowApiKeyStore with a custom durable store.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on IdentityFlow.Credentials.ApiKeys:

Package Downloads
IdentityFlow.Credentials.ApiKeys.EntityFramework

Entity Framework Core storage for IdentityFlow API key credentials.

IdentityFlow.Hosting.AspNetCore.ApiKeys

ASP.NET Core API key authentication handler for IdentityFlow.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.20260722083539 61 7/22/2026
0.1.0-alpha.20260722073217 58 7/22/2026
0.1.0-alpha.20260620175120 77 6/20/2026
0.1.0-alpha.20260620172859 65 6/20/2026
0.1.0-alpha.20260620170646 72 6/20/2026
0.1.0-alpha.20260620143000 68 6/20/2026
0.1.0-alpha.20260620135000 67 6/20/2026
0.1.0-alpha.20260620122408 71 6/20/2026
0.1.0-alpha.20260614215234 68 6/14/2026