Back to Integrations

Integration Security

How Demurly secures your integration credentials and data.

Credential Management

Encryption at Rest

All integration credentials are encrypted using AES-256-GCM:

  • 256-bit encryption keys
  • Unique IV (Initialization Vector) per credential
  • Authentication tag prevents tampering

Key Management

  • Encryption keys stored in environment variables
  • Keys never logged or exposed in errors
  • Key rotation supported via key versioning

Authentication Methods

IntegrationMethodDetails
QuickBooksOAuth 2.0Short-lived tokens (1 hour), auto-refresh
NetSuiteOAuth 1.0a + TBAHMAC-SHA256, tokens never expire
SAP B1Session-based30-min timeout, auto-reconnect
SAP S/4HANABasic + CSRFCommunication arrangements

Data Protection

In Transit

  • All API calls use TLS 1.2+
  • Certificate validation enforced
  • No sensitive data in URLs

Audit Logging

Every integration operation is logged:

  • Operation type and timestamp
  • Entity type and ID
  • Success/failure status
  • Sensitive data redacted

Retention Periods

Webhook events90 days
Sync logs7 years
CredentialsUntil disconnected

Access Control

Row-Level Security (RLS)

All integration tables use Postgres RLS:

  • Users can only see their organization's data
  • Credentials accessible only via service role
  • Admin role required for configuration

SOC 2 Alignment

Trust PrincipleControlImplementation
SecurityAccess controlRLS, role checks
EncryptionAES-256-GCM
LoggingFull audit trail
AvailabilityRedundancyVercel edge network
Retry logicExponential backoff
ConfidentialityClassificationCredentials = sensitive
Access loggingAll credential access logged

Suspect Credential Compromise?

Take these steps immediately:

  1. Disconnect the integration in Demurly
  2. Revoke tokens in the provider's system
  3. Contact support@demurly.com
  4. Reconnect with fresh credentials

Compliance Considerations

GDPR

  • Integration data tied to organization
  • Deletion cascades to all integration data
  • Data export includes integration configs

PCI DSS

  • No payment card data stored
  • Stripe handles all card processing
  • Integration credentials ≠ payment credentials

Security Contacts

Security issues: security@demurly.com

General support: support@demurly.com

Integrations Guide