Table of Contents

Class AdminApiKeyResponse

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

API-key metadata without the secret.

public sealed class AdminApiKeyResponse
Inheritance
AdminApiKeyResponse
Inherited Members

Properties

AllowedIpRanges

Allowed IP ranges.

public IReadOnlyList<string>? AllowedIpRanges { get; init; }

Property Value

IReadOnlyList<string>

AllowedReferrers

Allowed referrer patterns.

public IReadOnlyList<string>? AllowedReferrers { get; init; }

Property Value

IReadOnlyList<string>

CreatedAt

Creation time.

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

CreatedBy

Creating operator.

public string? CreatedBy { get; init; }

Property Value

string

ExpiresAt

Expiration time.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

Id

Key identifier.

public Guid Id { get; init; }

Property Value

Guid

KeyPrefix

Non-secret key prefix.

public required string KeyPrefix { get; init; }

Property Value

string

LastUsedAt

Last authentication time.

public DateTimeOffset? LastUsedAt { get; init; }

Property Value

DateTimeOffset?

Name

Display name.

public required string Name { get; init; }

Property Value

string

Permissions

Permission grants.

public IReadOnlyList<string> Permissions { get; init; }

Property Value

IReadOnlyList<string>

RevokedAt

Revocation time.

public DateTimeOffset? RevokedAt { get; init; }

Property Value

DateTimeOffset?

RotatedAt

Last rotation time.

public DateTimeOffset? RotatedAt { get; init; }

Property Value

DateTimeOffset?

Status

Key status.

public required string Status { get; init; }

Property Value

string

UpdatedAt

Last update time.

public DateTimeOffset UpdatedAt { get; init; }

Property Value

DateTimeOffset