Data Layer medium complexity backend
0
Dependencies
2
Dependents
2
Entities
0
Integrations

Description

Secure storage layer for per-organisation accounting system credentials. Encrypts API keys and OAuth tokens at rest, provides controlled access for the accounting adapter, and never exposes raw credentials to client-side code.

Feature: Accounting API

accounting-credentials-store

Responsibilities

  • Encrypt and persist accounting system credentials per organisation
  • Retrieve and decrypt credentials for use by the accounting adapter at runtime
  • Rotate or revoke stored credentials on admin request

Interfaces

saveCredentials(orgId: string, credentials: RawCredentials): void
getCredentials(orgId: string): DecryptedCredentials
deleteCredentials(orgId: string): void
hasCredentials(orgId: string): boolean

Relationships

Dependents (2)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component