Home / mockups / Mockup: Environment

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.

https://secrets.sgit.ai/app/environment.html
secrets.sgit.aidevlocked
VaultDevicesEnvironmentAccount
dinis@example.com

Environment

One site, one GCP project per environment. Changing it signs you out and clears every key from memory.

prod · secrets.sgit.ai (production)dev · development (disposable)main · stagingcustom…
projectIdsgit-secrets-devregioneurope-west2
authDomainsgit-secrets-dev.firebaseapp.comsignInMethodpopup (redirect as a fallback)
storageBucketsgit-secrets-dev.firebasestorage.apptenantIdnone
apiKeyAIza… (public, restricted by referrer)adminOauthClientId….apps.googleusercontent.com
Export JSONImport JSONReset to the site default

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.

All mockups