version: 1
kind: HwlabWebProbeSentinelSecrets
metadata:
  id: web-probe-sentinel-auth-session-switch-secrets
  owner: UniDesk
  specRef: PJ2026-01060508
sentinel:
  secrets:
    sources:
      - purpose: bootstrap-admin
        sourceRef: hwlab/d601-v03-bootstrap-admin.env
        sourceKey: HWLAB_BOOTSTRAP_ADMIN_PASSWORD
      - purpose: account-a
        sourceRef: hwlab/d601-v03-bootstrap-admin.env
        sourceKey: HWLAB_BOOTSTRAP_ADMIN_PASSWORD
        format: web-account-json
        username: admin
      - purpose: account-b
        sourceRef: hwlab/d601-v03-preset-users.env
        sourceKey: HUIGGAO_PASSWORD
        format: web-account-json
        username: huiggao@163.com
      - purpose: frp-token
        sourceRef: platform-infra/pk01-frp.env
        sourceKey: FRP_TOKEN
    runtimeSecrets:
      - name: hwlab-web-probe-sentinel-auth-switch-bootstrap
        namespace: hwlab-v03
        data:
          - sourcePurpose: bootstrap-admin
            targetKey: bootstrap-admin-password
      - name: hwlab-web-probe-sentinel-auth-switch-accounts
        namespace: hwlab-v03
        data:
          - sourcePurpose: account-a
            targetKey: account-a.json
          - sourcePurpose: account-b
            targetKey: account-b.json
      - name: hwlab-web-probe-sentinel-auth-switch-frpc
        namespace: hwlab-v03
        data:
          - sourcePurpose: frp-token
            targetKey: token
