Prerequisites
Before configuring external storage, you need an AWS Connection set up in your organization. This provides the credentials Infisical uses to write to your bucket. If you don’t have one, see the AWS Connection guide.Required Permissions
The connection’s IAM role needs these permissions on the bucket:Configuring a Template for External Storage
External storage is set at the template level. Each template can use a different bucket if needed.1
Open the template
Go to Account Templates and click on the template you want to configure.
2
Find Recording Storage
In System Settings, find the Recording Storage section.
3
Select External S3
Change from Internal to External S3.
4
Configure the bucket
5
Save
Click Save. Infisical validates that it can reach the bucket before saving.
CORS Configuration
For session playback to work in the browser, your bucket needs a CORS policy:https://app.infisical.com with your Infisical URL if you have a custom domain.
To configure:
- Open the bucket in AWS Console
- Go to Permissions → Cross-origin resource sharing (CORS)
- Add the configuration above
How Recordings Are Stored
Recordings are stored as encrypted chunks:Managing Retention
Since recordings are in your bucket, you control retention. Configure S3 lifecycle rules to automatically delete or transition objects after a certain period.Next Steps
Session Recording
Learn more about how recording works.
Auditing
View the audit trail for all PAM activity.