@page "/admin/settings" @rendermode InteractiveServer @inject Microsoft.Extensions.Options.IOptions Options @using MudBlazor MeterVault — Settings Settings These are the effective settings the running instance is using. They are configured via environment variables (MeterVault__Key / Section__Key) or Docker/compose, not stored in the database — so config stays reproducible and secrets never land in the DB. Change them in your compose/env and restart. Locale & time Timezone@_o.TimeZone Locale@_o.Locale Currency@_o.Currency Raw-reading retention@_o.RawRetentionDays days Env keys: MeterVault__TimeZone, MeterVault__Locale, MeterVault__Currency, MeterVault__RawRetentionDays. Access & ingestion REST API @if (_o.ApiKeys.Count > 0) { @_o.ApiKeys.Count key(s) configured } else if (_o.AllowAnonymousApi) { open (anonymous) } else { closed (401) } Reverse-proxy trust@(_o.ReverseProxyTrust ? "on" : "off") Live ingestion workers@(_o.EnableLiveIngestion ? "on" : "off") Seed reference data on start@(_o.SeedReferenceData ? "on" : "off") Set API keys with MeterVault__ApiKeys__0. Keys themselves are never shown here. API docs at /swagger. @code { private MeterVault.Infrastructure.Options.MeterVaultOptions _o = new(); protected override void OnInitialized() => _o = Options.Value; }