← atlas·edge-functions-secrets

configure-edge-function-secrets

User navigates to a function's secrets/environment configuration, adds or updates secrets, and verifies the changes. The journey covers secret creation, masking, and confirmation workflows across three cognitive models.

default path · what bare Studio does

  1. 01
    route/project/[ref]/functionsactionnavigate-sidebarhookuseSidebarNavigation
  2. 02
    route/project/[ref]/functionsactionselect-functionuifunction-detail-rendered
  3. 03
    route/project/[ref]/functionsactionopen-settings-tabuisettings-rendered
  4. 04
    route/project/[ref]/functionsactionmanage-secretsuisecrets-editor-open
  5. 05
    route/project/[ref]/functionsactionsave-secretsuisecrets-confirmed

per-profile overrides · vehicle × route

Three vehicles, three routes

Connector · Battleship

Monica

sea route

Bring the team into the workflow.

deltas

  • Enter: sidebar-functions-pin-top
  • prelude · TeamActivityPrelude
  • on save · TeamSaveAck

slot fillers wired

  • premain-prelude · TeamActivityPrelude
  • on savesave-confirmation · TeamSaveAckTeam members with deploy access were notified
  • on renderright-rail · CollabRail

cognitive justification

HSP flood + Connector → secrets are team-sensitive. Shared review in right-rail shows who has access. Pre-save activity context shows affected team members. Post-save confirmation affirms transparency without information loss.

Try Monica's route →

Explorer · Tractor

Nate

field route

Show me what I don't already know.

deltas

  • Enter: schema-map-tile
  • on save · MicroProgress
  • destructive · AdvanceNoticeStrip 3000ms
  • chunk · 4

slot fillers wired

  • on savesave-confirmation · MicroProgressThis will replace existing secrets immediately
  • on rendertopbar-status · TopbarSchemaCount
  • pre-destructiveadvance-notice · AdvanceNoticeStrip3000ms

cognitive justification

ASD prediction-error + ADHD focus + DYS GLUT-drain → literal warning "this will replace existing" prevents surprise. Advance-notice 3s before save allows abort. Chunk to 4 secrets and zero motion reduce cognitive overload. MicroProgress confirms each secret operation.

Try Nate's route →

Analyst · Airplane

Sara

air route

Numbers first. Then we talk.

deltas

  • Enter: command-palette-functions
  • prelude · KpiBand
  • on save · SaveLedger
  • confirm · always

slot fillers wired

  • premain-prelude · KpiBand
  • on savesave-confirmation · SaveLedger✓ secrets saved · {{count}} endpoint(s) affected
  • on rendertable-row-trailing · Sparkline

cognitive justification

Analyst (A 0.000) + anxiety (CORT +19) → typed-name confirmation before save prevents accidental overwrites. KpiBand shows affected endpoints. Masked confirm displays secrets without exposing them. SaveLedger shows change timestamp.

Try Sara's route →