Skip to main content
Secure your Activepieces deployment with these production-ready security practices covering network security, secrets management, and data encryption.

Network Security

Protect your Activepieces instance at the network level:

TLS/SSL Configuration

1

Enable HTTPS

Always use HTTPS in production:
2

Use Valid Certificates

Deploy with trusted SSL certificates:
  • Let’s Encrypt (free)
  • Commercial CA certificates
  • Internal CA for private deployments
3

Enforce TLS 1.2+

Disable older protocols:
Never run Activepieces in production without HTTPS. Credentials and tokens are transmitted in API requests.

Firewall Configuration

Restrict network access to essential ports:

Reverse Proxy Setup

Use a reverse proxy for additional security:

IP Allowlisting

Restrict admin access by IP:

Secrets Management

Properly handle sensitive configuration:

Environment Variables

Never hardcode these values:
Generate strong random secrets:
Rotate secrets regularly:
  • Database passwords: Every 90 days
  • API keys: Every 180 days
  • Encryption keys: Use key versioning
  • JWT secrets: Every year

Secret Manager Integration

Use external secret managers for production:
See Secret Managers for integration details.

Data Encryption

Activepieces encrypts sensitive data at multiple layers:

Encryption at Rest

1

Database Encryption

Enable PostgreSQL encryption:
2

Application-Level Encryption

Activepieces encrypts:
  • Connection credentials
  • OAuth tokens
  • Webhook secrets
  • Secret manager configurations
Using AES-256-GCM encryption.
3

Backup Encryption

Encrypt database backups:

Encryption in Transit

Enable SSL for PostgreSQL:
SSL modes:
  • require: Encrypt connection
  • verify-ca: Verify server certificate
  • verify-full: Verify server identity
Use TLS for Redis:
All outbound connections use HTTPS by default. Pieces validate SSL certificates automatically.

Encryption Key Management

The encryption key must remain constant. Changing it will break existing encrypted data. Plan for key rotation using versioning.

Access Control

Authentication Security

Strong Passwords

Enforce password requirements:
  • Minimum 12 characters
  • Mixed case, numbers, symbols
  • No common passwords
  • Password history (prevent reuse)

Multi-Factor Auth

Enable 2FA/MFA:
  • TOTP (Google Authenticator)
  • SMS (for enterprise)
  • Hardware keys (FIDO2)

Session Management

Configure session security:
  • Session timeout: 8 hours
  • Idle timeout: 30 minutes
  • Concurrent sessions: Limited per user

SSO

Use enterprise SSO:
  • SAML 2.0
  • OAuth 2.0
  • Centralized identity management

API Security

1

API Key Management

2

Rate Limiting

Configure rate limits:
3

IP Whitelisting

Restrict API access by IP for sensitive operations

Monitoring & Auditing

Audit Logging

Enable comprehensive audit logs:
Logged events:
  • User authentication
  • Permission changes
  • Flow modifications
  • Connection management
  • Data access
See Audit Logs for details.

Security Monitoring

Monitor for brute force attacks:
Alert on suspicious patterns:
  • Login from new location
  • Multiple failed 2FA attempts
  • Bulk data export
  • Privilege escalation
Monitor security-relevant metrics:
  • Certificate expiration
  • Secret age
  • Failed API calls
  • Database connections

Compliance

Data Residency

1

Deploy in Required Region

Deploy Activepieces in compliant data centers
2

Configure Data Boundaries

Restrict piece usage to region-compliant services
3

Document Data Flow

Maintain data flow diagrams for compliance audits

Compliance Standards

GDPR

  • Data encryption at rest and in transit
  • Right to deletion (soft delete)
  • Audit logs for data access
  • Data export capabilities

SOC 2

  • Access controls and RBAC
  • Encryption of sensitive data
  • Audit logging
  • Incident response procedures

HIPAA

  • PHI encryption
  • Access logging
  • BAA agreements
  • Minimum necessary access

ISO 27001

  • Information security policies
  • Risk assessment
  • Access control
  • Cryptographic controls

Vulnerability Management

Keeping Updated

1

Regular Updates

Update Activepieces regularly:
2

Security Patches

Subscribe to security announcements:
  • GitHub security advisories
  • Release notes
  • Community forums
3

Dependency Scanning

Scan for vulnerable dependencies:

Incident Response

Monitor for security incidents:
  • Audit log anomalies
  • System alerts
  • User reports
Incident response procedure:
  1. Isolate affected systems
  2. Preserve evidence (logs)
  3. Assess impact
  4. Contain breach
  5. Eradicate threat
  6. Recover systems
  7. Post-incident review
Notify stakeholders:
  • Internal security team
  • Affected users
  • Compliance/legal teams
  • Regulators (if required)

Security Checklist

Network

✅ HTTPS enabled with valid certificate ✅ Firewall configured ✅ Reverse proxy deployed ✅ Rate limiting enabled

Secrets

✅ Secrets in secret manager ✅ Strong random secrets ✅ No secrets in code/logs ✅ Regular rotation schedule

Encryption

✅ Database encryption enabled ✅ TLS for all connections ✅ Backups encrypted ✅ Encryption key secured

Access Control

✅ SSO configured ✅ MFA enabled ✅ RBAC implemented ✅ Regular access reviews

Secret Managers

Integrate secret management

Audit Logs

Track security events

SSO Configuration

Set up SSO authentication