Security & Architecture

Zero customer data stored. Built to isolate your files and workloads.

OpusDocs does not store any customer information in any way. All configuration lives in your own Salesforce org, all templates and generated files live in your own infrastructure, and AI authoring lets you bring your own company models so nothing leaves your control.

Zero data stored

Nothing is stored by OpusDocs

We do not store any customer information in any way. All configuration lives in your Salesforce org, and all templates, documents, and files live in your own infrastructure.

Network boundary

No public router endpoints

Customer-hosted AWS Lambda routers run inside your AWS account with no public internet URL and invoke OpusDocs builders over the AWS Lambda API.

Scoped file access

Short-lived presigned URLs

Each request signs single-object HTTPS S3 URLs (default 30-minute TTL). OpusDocs builders hold zero permanent S3 permissions and never follow redirects.

Bring your own AI

Analyze with your own models

AI authoring is optional and supports bringing your own models, so all document text and metadata are analyzed strictly by your own company model.

Architecture boundary

How a document moves through OpusDocs

In the customer-account AWS deployment model, five lightweight Lambda routers run inside your AWS account with no public endpoint. OpusDocs never holds standing access to your storage.

Your Salesforce org

All config & rules live hereTemplate config, mappings, and AWS SigV4 Named Credentials

Your AWS infrastructure (no public endpoint)

Customer-hosted Lambda routersSigns 30-min S3 GET/PUT URLs; runs fill-pdf locally
All templates, documents & filesStored solely in your S3 buckets under your IAM and SSE-KMS keys

OpusDocs stateless compute (zero storage)

GenerateDoc / GeneratePdf / PdfTemplateStores nothing; pinned IAM role invoke, strict HTTPS S3 URL check, zero redirects, zero S3 IAM access
  1. 01

    Your Salesforce org

    Your Salesforce org holds all config and initiates the request

    All template configuration, field mappings, and business rules live in your own Salesforce org. An admin action, Flow, Apex trigger, or API call invokes your customer router in AWS through Named Credentials backed by a programmatic, API-only IAM identity.

  2. 02

    Your AWS account

    Customer-hosted Lambda routers sign single-object URLs

    Lightweight routers deployed in your AWS account via Terraform validate the target bucket and mint short-lived HTTPS presigned S3 GET and PUT URLs (default 1800 seconds). Fillable AcroForm PDFs can run completely locally inside your account via fill-pdf.

  3. 03

    Cross-account AWS Lambda API

    Explicit IAM role pinning across accounts

    Your forwarder role invokes the OpusDocs builder Lambda directly over the AWS Lambda API. OpusDocs enforces explicit aws_lambda_permission resource policies pinned to your registered role ARN and requires presigned URLs on every call.

  4. 04

    OpusDocs stateless compute

    In-memory merge and PDF rendering with strict URL checks

    Stateless ARM64 Lambda builders validate the org-scoped license first, fetch only the signed HTTPS S3 template URL without following redirects, render the merged output in memory, and write it directly to your signed S3 PUT URL.

  5. 05

    Your AWS S3 & Salesforce

    Finished files land directly in your bucket

    The generated PDF or Word output is stored straight in your own S3 bucket under your encryption and lifecycle rules, while Salesforce receives only the generation status and file metadata.

Defense in depth

Core security controls across the platform

Security and reliability are architectural properties. Each layer enforces narrow permissions so a single subsystem cannot expose another tenant’s storage or credentials.

Storage & data residency

  • Zero customer data stored. Configuration lives in your Salesforce org and all templates and files stay in your own infrastructure.
  • Customer-managed encryption. Supports SSE-S3 and your own AWS KMS keys scoped to kms:Decrypt and kms:GenerateDataKey.
  • Choose your region. Generate documents in the geographic location or AWS region you choose alongside regional S3 buckets.

IAM & network isolation

  • Zero standing S3 access. OpusDocs builders hold no permanent IAM permissions to read or list customer S3 buckets.
  • Short-lived presigned URLs. Builders require request-scoped HTTPS S3 URLs (default 30-minute TTL) and block HTTP redirects.
  • Local AcroForm filling. Fillable PDF workflows (fill-pdf) execute inside your own AWS account without leaving it.

Authentication & secrets

  • SigV4 & Salesforce OAuth. Generation uses API-only AWS SigV4 Named Credentials; Word authoring uses standard Salesforce OAuth.
  • Fail-closed org gating. The Word add-in verifies org IDs directly with Salesforce and revokes tokens for non-allowlisted orgs.
  • Encrypted SSM secrets. Runtime parameters stay in AWS SSM SecureString (kms:ViaService), never in source code or Terraform state.

Optional AI & operations

  • Bring your own AI models. Analyze data with your own company models, use Amazon Bedrock, or turn AI off per Salesforce org.
  • Account-pinned Terraform. Customer routers deploy via Infrastructure as Code with customer_account_id guardrails.
  • Minimal operational logs. CloudWatch records invocation counts and license status without logging secrets, URLs, or merge data.

Clear ownership

Shared responsibility summary

How responsibilities divide between your organization and OpusDocs in a customer-account AWS deployment.

AreaYour organization controlsOpusDocs manages
Configuration and business rulesAll template configuration, field mappings, conditional rules, and metadata live exclusively in your own Salesforce org.Stores zero customer configuration; executes statelessly from the request sent by your Salesforce org.
Templates, documents, and filesAll files live strictly in your own infrastructure (S3 buckets, AWS region, IAM policies, SSE-KMS keys, retention, and deletion).Stateless in-memory rendering over request-scoped presigned HTTPS S3 URLs; nothing is stored by OpusDocs.
Salesforce access and usersSalesforce profiles, permission sets, Named Credentials, OAuth connected app policies, token revocation, and MFA.Managed package orchestration, AWS SigV4 compatibility, and server-verified org allowlisting for the Word add-in.
Customer AWS routersHosting the five router Lambdas inside your AWS account, attaching the caller invoke policy, and CloudWatch log retention.Maintaining tested router packages, least-privilege Terraform modules, and account-ID deployment guardrails.
Document rendering computeChoosing the geographic location or AWS region for document generation, workflows, and local fill-pdf versus builder paths.Stateless AWS Lambda compute scaling in your chosen region, runtime patching, per-customer Lambda resource policies, and SSM SecureString secret management.
AI authoring and modelsChoosing whether to enable AI per org, bring your own company model so all data stays inside your model environment, or keep AI disabled.Supporting bring your own model routing, optional Amazon Bedrock integration, and per-org enablement controls.
Audit logs and monitoringSalesforce Login History, Connected Apps OAuth Usage, AWS CloudTrail, and customer CloudWatch logs.Structured CloudWatch telemetry for invocation volume and license status without logging secrets, URLs, or document merge data.

Common review questions

Security and architecture FAQ

Quick answers for enterprise InfoSec and Salesforce architecture reviews. See our Security & Data FAQ and Privacy Policy for feature-by-feature data handling details.

Does OpusDocs store any customer information, config, or files?

No. OpusDocs does not store any customer information in any way. All configuration lives in your own Salesforce org, and all templates, generated documents, and files live exclusively in your own infrastructure. Builders render documents in memory and write outputs directly back to your storage.

Can OpusDocs access our Amazon S3 buckets outside of an active generation request?

No. In the customer-hosted router model, OpusDocs builders have no IAM permissions to your S3 buckets. Your own Lambda routers generate single-object HTTPS presigned URLs (default 30-minute TTL) for each job, and builders lose access as soon as those URLs expire.

How does Salesforce authenticate with OpusDocs?

Server-side Salesforce document generation authenticates to AWS using Named Credentials with AWS Signature Version 4 (SigV4) backed by programmatic, API-only IAM identities. In the Microsoft Word add-in, users sign in directly on Salesforce via OAuth.

What does OpusDocs log during document generation?

Generation builders emit structured CloudWatch JSON telemetry for operational tracking, such as org ID, AWS request ID, function name, document count, and license validation status. Secrets, presigned S3 URLs, and document merge payloads are not logged in telemetry events.

Can we bring our own AI models or disable AI features?

Yes. Customers can bring their own AI models so all document text, prompts, and metadata are analyzed strictly by their own company model. AI authoring features are also completely optional and can be disabled per Salesforce org, and the Word add-in enforces a fail-closed production org allowlist verified against Salesforce.

Can documents be generated in a specific geographic region?

Yes. OpusDocs can generate documents in the geographic location or AWS region of your choosing so stateless rendering stays aligned with your regional storage buckets and data residency requirements.

Security & architecture review

Review the AWS architecture directly with our engineering team.

Walk through our customer-hosted Terraform modules, IAM policies, KMS setup, Salesforce Named Credential flow, and your InfoSec questionnaire before starting a pilot.