Data Layer high complexity backend
0
Dependencies
2
Dependents
1
Entities
0
Integrations

Description

Securely stores encrypted API credentials (OAuth2 tokens, API keys) for each organization's accounting system connection. Credentials are encrypted at rest and decrypted only at export time within the service layer.

Feature: Accounting API

accounting-credential-store

Responsibilities

  • Store encrypted credentials per organization and provider
  • Retrieve and decrypt credentials for export operations
  • Rotate and revoke credentials when requested

Interfaces

storeCredentials(organizationId, provider, encryptedCredentials)
getCredentials(organizationId, provider)
deleteCredentials(organizationId, provider)
rotateCredentials(organizationId, provider, newCredentials)
testConnection(organizationId, provider)

Relationships

Dependents (2)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component