TsgcWSAPIKeyManager › Properties

TsgcWSAPIKeyManager Properties

Published properties grouped by purpose, followed by the full alphabetical list.

Core

NameDescription
EnabledMaster switch. When False, ValidateKey and IsRequestAuthorized always return True and server auto-hooks become no-ops.

Generation

NameDescription
GenerationControls how plaintext keys are built by IssueKey: KeyPrefix, KeyLength, Charset and optional checksum.
HashingAt-rest hash algorithm (SHA-256, SHA-512 or Bcrypt) with optional Salt and Iterations for key stretching.

Storage

NameDescription
StorageControls where hashed keys and audit log are kept: in memory, in an optionally encrypted file, or in user hooks.

Authorization

NameDescription
ScopesCatalog of allowed scope strings enforced when keys are issued or checked for a required scope.
ValidationHow keys are extracted (header, query), transport rules (HTTPS, IP allowlist) and the FailClosed policy.
ExpirationDefault TTL, enforcement flag and background sweep interval controlling how issued keys age out.
RotationGrace-period and auto-rotate settings that let a new key replace an old one without downtime.

Protection

NameDescription
RateLimitPer-key rate-limit metadata (max requests per window) consumed by TsgcWSRateLimiter.PerAPIKey.

Audit

NameDescription
AuditRing-buffer and file-backed audit log of every key-lifecycle action with configurable retention.

All Properties (alphabetical)

NameDescription
AuditRing-buffer and file-backed audit log of every key-lifecycle action with configurable retention.
EnabledMaster switch. When False, ValidateKey and IsRequestAuthorized always return True and server auto-hooks become no-ops.
ExpirationDefault TTL, enforcement flag and background sweep interval controlling how issued keys age out.
GenerationControls how plaintext keys are built by IssueKey: KeyPrefix, KeyLength, Charset and optional checksum.
HashingAt-rest hash algorithm (SHA-256, SHA-512 or Bcrypt) with optional Salt and Iterations for key stretching.
RateLimitPer-key rate-limit metadata (max requests per window) consumed by TsgcWSRateLimiter.PerAPIKey.
RotationGrace-period and auto-rotate settings that let a new key replace an old one without downtime.
ScopesCatalog of allowed scope strings enforced when keys are issued or checked for a required scope.
StorageControls where hashed keys and audit log are kept: in memory, in an optionally encrypted file, or in user hooks.
ValidationHow keys are extracted (header, query), transport rules (HTTPS, IP allowlist) and the FailClosed policy.