Class BootstrapAdminSeeder
Once-per-cluster startup task that calls Identity's /internal/bootstrap-admin
endpoint with X-Bootstrap-Secret. Idempotent: 410 Gone on repeat is treated as success.
Disabled by default; turn on via Bootstrap:Enabled=true + supply secret via env/user-secrets.
public sealed class BootstrapAdminSeeder : BackgroundService, IHostedService, IDisposable
Inheritance
Implements
Methods
ExecuteAsync(CancellationToken)
This method is called when the starts. The implementation should return a task that represents
protected override Task ExecuteAsync(CancellationToken ct)