-
-
Notifications
You must be signed in to change notification settings - Fork 1
fix(frontend): SecretVault uses hardcoded mock secrets #3987
Copy link
Copy link
Closed
Labels
Description
Problem
SecretVault displays 4 hardcoded mock secrets instead of fetching from backend - users cannot add/manage real secrets.
Root Cause
Lines 39+ define hardcoded mock secrets array:
const mockSecrets: Array<SessionSecret & ...> = [
{ id: 'secret-1', name: 'GitHub API Token', ... },
{ id: 'secret-2', name: 'AWS Access Key', ... },
{ id: 'secret-3', name: 'Database Password', ... },
{ id: 'secret-4', name: 'API Key', ... },
]Impact
- Secrets management UI is demo-only
- Cannot store/manage real credentials
- Blocks production use of secret management features
Files
- autobot-frontend/src/components/secrets/SecretVault.vue
Solution
Replace mockSecrets with API fetch from backend secret storage endpoint
Reactions are currently unavailable