Class BootstrapOptions

Assembly: redb.Identity.Core.dll

B1 — emergency local-admin bootstrap: a one-shot internal endpoint
(POST /internal/bootstrap-admin). The secret MUST come from environment
(e.g. IDENTITY__BOOTSTRAP__SECRET) and never from context.json
(which is checked into source control).

public sealed class BootstrapOptions

Inheritance

Object→BootstrapOptions

Properties

AdminGroupName

Name of the group that the freshly-created admin user joins. Should

public string AdminGroupName { get; set; }

AdminScope

OAuth scope that the bootstrap admin needs in order to call the

public string AdminScope { get; set; }

Enabled

Master switch. When false (default) the route is registered but

public bool Enabled { get; set; }

Secret

Shared secret required in the X-Bootstrap-Secret header.

public string? Secret { get; set; }

WebClientId

ClientId issued for the canonical first-party admin web application.

public string WebClientId { get; set; }