Skip to content

Permissions & Roles

The Secrets vault uses role-based access control to ensure secure management of sensitive credentials.

RoleView SecretsCreateUpdateDelete
Admin✅ (API only)
User

User roles are resolved via useUserSession() and checked client-side before rendering privileged actions.

  • Client-Side Checks: UI elements are hidden based on permissions
  • Server-Side Validation: All operations are validated on the backend
  • Audit Trail: All secret operations are logged for security monitoring
  • All Roles: Can see secret names in the list view
  • Restriction: Secret values are never displayed to any role
  • Admin Only: Can add new secrets to the vault
  • Validation: Names must be unique within the client scope
  • Admin Only: Can rotate existing secret values
  • Protection: Secret names cannot be modified
  • Admin Only: Can remove secrets (currently API-only)
  • Future: UI confirmation will be added