Class BootstrapAdminRequest

Assembly: redb.Identity.Contracts.dll

B1 — request DTO for POST /internal/bootstrap-admin
(direct-vm://identity-bootstrap-admin).

One-shot endpoint that atomically creates the very first admin user, the
identity-admins group, the identity:admin scope, the
canonical identity-web OIDC client and the
SystemFlag(name=bootstrap_completed) sentinel that gates further
invocations. Subsequent calls return 410 Gone.


Authenticated by an out-of-band shared secret in the
X-Bootstrap-Secret header (compared with
).

public sealed class BootstrapAdminRequest

Inheritance

Object→BootstrapAdminRequest

Properties

BackchannelLogoutUri

OIDC Back-Channel Logout endpoint of the Web Console. Stored as a

public string? BackchannelLogoutUri { get; set; }

Email

Login / email of the admin user to create. Required.

public string? Email { get; set; }

GroupName

Group name to create / find and add the new admin to. When null,

public string? GroupName { get; set; }

Password

Initial password. Required. Must satisfy

public string? Password { get; set; }

PostLogoutRedirectUri

OIDC post_logout_redirect_uri for the admin Web Console. Required.

public string? PostLogoutRedirectUri { get; set; }

RedirectUri

OIDC redirect_uri for the admin Web Console. Required.

public string? RedirectUri { get; set; }