Mockup 7: Environment
Status, from /shipped/: shipped v0.1.5 Design mockups: ten screens as static pictures in a mini browser frame and as ASCII art, each linked to the intent it realises · proposed Sign in and out with Google and email/password against the chosen environment · proposed Passkey with WebAuthn PRF derives the keyring wrapping key; RP ID secrets.sgit.ai · proposed Entries: six kinds kept apart, vault list, entry page, copy and reveal, lock timers
What secrets.sgit.ai/app/environment.html is meant to look like, from section 5 of the brief. A static picture: nothing on it works, the values are invented, and the screen itself is proposed.
Pick a built-in environment, or enter a custom one with every field of config/environments.json; export it as JSON, import one, reset. Every value here is a public identifier. Changing environment signs the user out and clears every key from memory, and the page says so before the switch.
Environment
One site, one GCP project per environment. Changing it signs you out and clears every key from memory.
| projectId | sgit-secrets-dev | region | europe-west2 |
|---|---|---|---|
| authDomain | sgit-secrets-dev.firebaseapp.com | signInMethod | popup (redirect as a fallback) |
| storageBucket | sgit-secrets-dev.firebasestorage.app | tenantId | none |
| apiKey | AIza… (public, restricted by referrer) | adminOauthClientId | ….apps.googleusercontent.com |
Stored in localStorage as sgit.secrets.config.v1. Nothing secret is ever stored there.
The same screen as ASCII
┌─ secrets.sgit.ai/app/environment.html ───────────────────────────┐ │ secrets.sgit.ai [dev] [locked] Vault Devices Env* Account │ ├──────────────────────────────────────────────────────────────────┤ │ Environment │ │ Changing it signs you out and clears every key from memory. │ │ [prod] [dev*] [main] [custom…] │ │ projectId sgit-secrets-dev region europe-west2 │ │ authDomain sgit-secrets-dev.firebaseapp.com signIn popup │ │ storageBucket sgit-secrets-dev.firebasestorage.app │ │ apiKey AIza… (public, restricted by referrer) │ │ adminOauthClientId ….apps.googleusercontent.com │ │ [ Export JSON ] [ Import JSON ] Reset to the site default │ └──────────────────────────────────────────────────────────────────┘
Intent it realises
Open each in the review navigator: environment · flow.customer-environment.