Skip to main content

Security best practices

AvailableCoreAvailableStandardAvailablePlusAvailableProAvailableEnterprise Flex Compare

Follow these practices to reduce credential exposure, limit network access, and control who can manage your Airbyte deployment. Apply the recommendations that match your Airbyte plan and architecture.

For an overview of Airbyte's architecture, compliance certifications, and vulnerability disclosure process, see Security.

Secure network access​

Restrict network paths between Airbyte, your sources, and your destinations so only authorized traffic can reach your data systems.

Restrict traffic with IP allowlists​

If your sources or destinations sit behind a firewall, restrict inbound access to Airbyte's static IP addresses instead of opening endpoints to the public internet.

  • Airbyte Cloud: see IP allowlist for the IP addresses to allowlist for your region, Connector Builder, and Context Layer workloads.
  • Provider-side IP restrictions: where a SaaS provider lets you restrict an API token or OAuth app to specific IP ranges, limit it to Airbyte's published IP addresses.
  • Airbyte Core: deploy Airbyte inside a private network, restrict access to the Airbyte UI and API by IP or VPN, and place a reverse proxy with TLS in front of the deployment. See Securing Airbyte Core for network-hardening guidance and an NGINX TLS example.

On Airbyte Cloud (Pro and Enterprise Flex), use the AWS PrivateLink paid add-on to route sync traffic privately over the AWS backbone instead of the public internet.

  • PrivateLink removes the need for public IP allowlisting on PrivateLink-enabled endpoints.
  • If one side of a connection uses PrivateLink and the other side connects over the public internet, keep IP allowlisting enabled on the public endpoint.
  • PrivateLink works only with sources and destinations running in AWS. Your service can be in any AWS region using AWS cross-region PrivateLink from Airbyte's us-east-1 and eu-west-3 endpoints, as long as you enable cross-region access on your VPC endpoint service and include Airbyte's region.

Require encrypted transport​

Airbyte Cloud requires encrypted connections for database connectors (TLS, or an SSH tunnel when TLS isn't available).

  • Verify server certificates: select verify-ca or verify-full (or the connector's equivalent) where supported so TLS authenticates the server rather than only encrypting the wire.
  • Encrypt behind SSH tunnels: an SSH tunnel encrypts traffic only as far as the bastion host. If you need end-to-end encryption, enable TLS between the bastion and the database too.

Apply least privilege to connector credentials​

Limit the reach of any single connector credential by scoping access tightly at the source and destination.

  • Use dedicated service accounts: create a separate database user, IAM role, or API service account for Airbyte rather than reusing personal or administrative accounts.
  • Grant minimum required permissions: grant the minimum permissions documented for each connector, including any CDC replication privileges, destination schema-management permissions, or staging bucket access the connector requires.
  • Enter credentials in secret fields only: enter tokens, keys, and passwords only in fields Airbyte masks as secrets. Never place credentials in URLs, query strings, custom headers, or plain text fields (including Connector Builder fields not marked as secret), because Airbyte stores non-secret fields as ordinary configuration.
  • Avoid sensitive columns as cursors or primary keys: Airbyte stores incremental cursor and primary key values in its US control plane for sync coordination and troubleshooting. Choose non-sensitive columns such as updated_at or surrogate IDs instead of personally identifiable information (PII), especially if you use Enterprise Flex or an EU Airbyte Cloud workspace.
  • Weigh OAuth against scoped static keys: OAuth lets you revoke a single grant without rotating a shared secret, and the provider controls token expiry rules. However, Airbyte stores a long-lived refresh token, so request only the scopes your streams need, and inventory, review, and revoke grants when they're no longer needed. Where a provider supports tightly scoped, IP-restricted API keys, those can be an equally strong or safer choice.
  • Inventory, expire, and monitor credentials: periodically review active connectors, delete unused ones, rotate static keys on a schedule, and set expiry dates on keys and personal access tokens where the provider supports it. Monitor your source and destination systems' own audit logs for unexpected queries, exports, or API calls made with Airbyte's credentials.
  • Harden destination staging and raw tables: configure lifecycle rules on destination staging buckets so temporary files don't persist indefinitely, and apply least-privilege access to raw and destination tables.

Choose between Airbyte-managed and self-managed OAuth apps​

On Airbyte Cloud, supported Airbyte connectors use Airbyte-managed OAuth apps by default. Where the connector and provider support it, you can register your own OAuth app at the workspace or organization level using OAuth override credentials. On Airbyte Core, and for custom or Marketplace connectors, you always supply your own OAuth app credentials.

When a provider issues a replacement refresh token and the connector supports it, Airbyte persists the new token. That runtime refresh behavior depends on the connector and provider, not on whether you use an Airbyte-managed or self-managed OAuth app.

ConsiderationAirbyte-managed OAuth appSelf-managed OAuth app (override)
Credential ownershipAirbyte stores and injects client_id and client_secret.You own and configure client_id and client_secret via workspace or organization overrides.
Client secret rotationAirbyte can rotate the shared app's client_secret centrally.You control when and how to rotate client_secret in your provider console and update the override.
Bulk revocationRevoking every grant at once across the shared app is Airbyte's control, not yours.You can disable or revoke the entire OAuth app yourself in your provider console, cutting off every grant issued to it.
Access and refresh token behaviorConnector runtime refreshes short-lived access tokens and persists replacement refresh tokens where the connector and provider support it.Same connector and provider behavior.
App governance and isolationShared Airbyte OAuth app; Airbyte manages provider app verification.Dedicated app under your organization's governance, scopes, conditional access policies, and audit trail.
Setup and maintenanceFastest setup; no third-party app registration required.Requires creating, verifying, and maintaining an OAuth app in each third-party provider.

When to use a self-managed OAuth app​

Use your own OAuth app when you need to:

  • Isolate your connections from a shared multi-tenant OAuth app.
  • Enforce organization-specific app policies, IP restrictions, or custom scopes in the third-party provider.
  • Audit, disable, or bulk-revoke OAuth app access centrally from your provider's administrator console.

Operational caveats​

  • Reauthorize after changing overrides: authorization servers bind refresh tokens to a specific OAuth app. After you create or update an OAuth override, reauthorize affected connectors so Airbyte obtains tokens tied to your app.
  • Revoke grants at the provider or through support: deleting a connector in Airbyte doesn't revoke its OAuth grant at the provider. If you use a self-managed OAuth app, revoke the grant in the provider's console and confirm that it's removed. If you use an Airbyte-managed OAuth app on Airbyte Cloud, contact Airbyte Support.

See OAuth for setup instructions.

Keep secrets in your own secret manager​

Instead of storing connector credentials in Airbyte's default secret persistence, store them in your own cloud secret manager.

Airbyte Cloud (Pro and Enterprise Flex)​

Configure External Secret Management to store connector credentials in AWS Secrets Manager, Azure Key Vault, or Google Cloud Secret Manager.

  • Use external secret references for API and Terraform workflows: pass secret_coordinate:: values for secret fields so plaintext credentials never transit the Airbyte API. You can then rotate secret values directly in your secret manager without updating connector configurations in Airbyte.
  • Protect Terraform state: if you pass plaintext secret values through the Airbyte Terraform provider instead of secret_coordinate:: references, those values are stored in Terraform state even when marked sensitive in plan output. Use secret_coordinate:: references, or encrypt and tightly restrict access to your Terraform state, plan files, and state backend.
  • Prefer IAM roles on AWS Secrets Manager (Cloud control plane): when configuring AWS Secrets Manager on Airbyte Cloud, prefer IAM role authentication as described in External Secret Management. Self-managed Enterprise Flex data planes currently support access key authentication only; see Deploy a data plane for current prerequisites.
  • Scope secret manager permissions and monitor access: restrict Airbyte's access to Airbyte-managed secrets only (for example, using resource tags or prefixes in AWS Secrets Manager, or the equivalent scoped permissions in Azure Key Vault and Google Cloud Secret Manager) and monitor access through your cloud provider's audit logs (such as AWS CloudTrail).
  • Configure before creating connectors: changing the secret storage of a workspace that already has connectors causes those connectors to fail. Configure external secret management before you create connectors, or create a new workspace.

Airbyte Core​

By default, Airbyte Core stores connector secrets in plaintext in its internal app database. For production deployments:

  • Configure an external secret manager (AWS Secrets Manager, Google Secret Manager, Azure Key Vault, or HashiCorp Vault) as described in Secret Management.
  • Change default deployment credentials and keep the internal database and Temporal off public networks.
  • Encrypt the internal database and its backups at rest, and restrict Kubernetes RBAC and access to Kubernetes secrets.

Harden platform access and governance​

Protect who can access Airbyte, configure connections, and invoke the Airbyte API.

  • Enforce SSO and MFA: require SSO with your identity provider (Okta or Microsoft Entra ID via OIDC) on Plus, Pro, and Enterprise Flex plans, and enforce multi-factor authentication (MFA) in your identity provider for all SSO users. See Single Sign-On (SSO).
  • Automate offboarding with SCIM: on Pro and Enterprise Flex plans, enable SCIM so user deactivation and group changes propagate to Airbyte when your identity provider sends provisioning updates. Store SCIM bearer tokens in a secret manager and rotate them periodically, because they don't expire automatically.
  • Enforce least-privilege RBAC: on Pro and Enterprise Flex plans, assign the lowest necessary role at the organization level and grant higher permissions only on specific workspaces. Use Source editor and Destination editor roles to separate who can configure sources from who can modify destinations, and keep the number of organization administrators small. See Role-Based Access Control (RBAC).
  • Manage API apps under a dedicated automation user: Airbyte Cloud doesn't have a separate service-account type; API apps belong to an individual user and inherit that user's full permissions. Create API apps under a dedicated, minimally scoped user account created for automation rather than an individual administrator's account, and periodically review who owns active API apps. While API access tokens expire after 15 minutes, the app's client secret doesn't expire; store it in a secret manager, and rotate it by deleting the app and creating a new one. See Configuring API access.
  • Review audit logs: on Pro and Enterprise Flex plans, monitor Audit logs (retained for 365 days) to track changes to workspaces, connections, connectors, users, permissions, and settings.
  • Avoid debug logging in production (Airbyte Core): keep server log levels at INFO outside active troubleshooting, because initial connector configurations may be written to logs at DEBUG.

If you suspect a credential was exposed​

Credentials used by data pipelines can be exposed in many ways outside Airbyte, including phishing, compromised developer machines or CI pipelines, misconfigured storage, or accidentally pasting keys into third-party tools or AI agents. In the unlikely event that you suspect a credential used in Airbyte has been exposed, follow this order of steps to contain access cleanly:

  1. Revoke the exposed credential first: disable or revoke the exposed credential in the external system immediately to stop unauthorized access. Then generate a new credential, update every affected secret field in Airbyte in a single update, and run a connection check.
  2. Revoke OAuth grants: if you use a self-managed OAuth app, revoke the grant in the third-party provider's console and confirm it's removed. Rotating an OAuth app's client_secret doesn't invalidate already-issued refresh tokens. If you use an Airbyte-managed OAuth app on Airbyte Cloud, contact Airbyte Support to revoke it for you.
  3. Audit provider-side activity: review the source or destination provider's access and audit logs for unexpected activity. Compare source IP addresses against Airbyte's published IPs (or your own data plane IPs on Enterprise Flex) as a starting indicator, keeping in mind that a match with Airbyte Cloud's shared IPs doesn't by itself guarantee the activity came from your workspace.
  4. Review Airbyte audit logs: check Audit logs for unexpected changes to users, permissions, or connectors.
  5. Remove unused connectors: delete connectors and connections you no longer need so their credentials are no longer stored.

Isolate data processing with Enterprise Flex​

When strict data residency, network isolation, or regulatory requirements mean synced records must stay in your infrastructure, Enterprise Flex is the strongest deployment option.

Enterprise Flex separates the Airbyte-managed control plane from self-managed data planes that run in your own cloud or on-premises Kubernetes cluster:

  • Records stay in your environment: data planes extract, process, and load all records inside your infrastructure. Sync logs can also remain in your storage.
  • Outbound-only control-plane networking: data planes communicate with the Airbyte control plane over outbound HTTPS requests only, so you don't need inbound firewall ports from the control plane into your private network.
  • Your own secret storage: self-managed data planes require an external secret manager (AWS Secrets Manager, Google Secret Manager, Azure Key Vault, or HashiCorp Vault) so connector credentials are stored in your vault rather than Airbyte's storage. Both your data plane and the Airbyte control plane read and write that shared secret store.
  • Regional workspace isolation: each workspace maps to a single data plane region, keeping regulated workloads isolated.

What metadata still reaches the control plane​

Even with self-managed data planes, Airbyte's US control plane reads and writes your shared secret store and stores connector configuration metadata, table and column names, incremental cursor and primary key values, and job status. Connector Builder processes test data through the control plane during development, and sync logs are forwarded to the control plane if you opt in. See What data leaves your network for the full breakdown. To keep sensitive data out of the control plane, avoid using sensitive columns (such as PII) as cursors or primary keys, and use non-sensitive test data when developing in Connector Builder.

When to choose Enterprise Flex​

Choose Enterprise Flex over Airbyte Cloud when IP allowlisting or AWS PrivateLink isn't enough for your security or compliance requirements:

  • Compliance and data sovereignty: your regulations or internal policies require data processing to stay inside your own infrastructure or within a specific country or region.
  • Private or on-premises sources: you need to sync from internal networks or on-premises systems that you can't expose to Airbyte Cloud.
  • Infrastructure ownership: your security policies require your team to control the compute environment, logs, and secret manager used during syncs.

To get started with Enterprise Flex, see Hybrid deployment overview or contact the Airbyte sales team.