FileRelay
Documentation
Try our Sandbox

Security Overview

How FileRelay protects credentials, verifies senders, and limits what leaves your network. Start here before the security review.

FileRelay sits between SAP and your archives, so it holds secrets on both sides. This section explains, in plain terms, how those secrets are stored, how each connection proves who it is, and what data FileRelay keeps.

The short version

  • Credentials are encrypted per user — destination secrets, SAP passwords, and OAuth tokens are stored encrypted under the owning user's key (bound to the record they belong to), not in plaintext and not under one global key. See Credentials & Secrets.
  • Every connection is tested before it is trusted — Test buttons verify reachability and authentication without side effects (CARA's probe is login-only; Azure writes then deletes its probe).
  • Senders are verified — ArchiveLink signatures are checked against SAP certificates you activate per repository. See Certificates.
  • File content doesn't linger — documents are purged from relay servers after delivery (purged_at on every document row); what remains is metadata and the audit trail.
  • Failures don't leak secrets — delivery error messages are trimmed and scrubbed of tokens before they reach the dashboard.

For the security review

Question Answer Details
Where are secrets stored? Encrypted in the app database, per-user keys Credentials
How does SAP authenticate? ArchiveLink certificates; CMIS and SAP ILM Basic auth; OData OAuth Source auth, Certificates
How do destinations authenticate? Entra app-only (recommended), tokens, SAS, passwords — per destination Destination setup pages
Can we rotate without downtime? Yes — paste the new value; next request uses it Credentials
What proves delivery? Per-destination delivery rows + request viewer audit Audits section

Operator responsibilities

FileRelay encrypts what's in its database, but three things stay yours: the APP_KEY (losing it loses the ciphertext), TLS in front of the app, and network paths (445 for SMB, 443 for Graph/CARA) from the FileRelay host to your servers.