Export audit logs to AWS S3
Pulumi Cloud can continuously export audit log events to an Amazon S3 bucket. Once configured, new events are delivered automatically — no manual downloads or API polling required.
Configure export using the console
AWS S3
Navigate to the organization’s Settings.
Navigate to Audit Logs.
Use the three-dot menu and select Configure export to Amazon S3 / S3-compatible.

Select Amazon S3.
Follow the instructions to create an AWS S3 bucket.
Provide a bucket name and a filepath where Pulumi audit logs will be exported, e.g.,
Pulumi-audit-logs.Copy the provided policy.
In the AWS console create an IAM role.
Select Another AWS Account and check Require external ID.
Provide the Account ID and External ID, then attach the policy you created.
Provide the ARN of the IAM role.
Test your configuration.

After a successful test, select Save and apply configuration.
After an hour, verify that logs have successfully started exporting.

S3-compatible service
Pulumi Cloud can also export audit logs to a storage service that implements the Amazon S3 API. Pulumi Cloud authenticates to the service with an access key instead of an IAM role.
- Navigate to the organization’s Settings.
- Navigate to Audit Logs.
- Use the three-dot menu and select Configure export to Amazon S3 / S3-compatible.
- Select S3-compatible service.
- Provide the Endpoint URL of the service. The endpoint must use
httpsand must be reachable from Pulumi Cloud. - Optionally, provide the Region that the service uses to sign requests. If you leave it empty, Pulumi Cloud uses
us-east-1. - Provide a Bucket name and a File path prefix where Pulumi audit logs will be exported.
- Create an access key that can write objects under the file path prefix, then provide its Access key ID and Secret access key.
- Test your configuration.
- After a successful test, select Save and apply configuration.
- After an hour, verify that logs have successfully started exporting.
Pulumi Cloud encrypts the secret access key and never shows it again. To change other settings later, leave Secret access key empty and Pulumi Cloud keeps the saved secret. If you change the endpoint URL or the access key ID, you must provide the secret access key again.
AUDIT_LOG_EXPORT in PULUMI_DISABLE_SSRF_PROTECTION. See SSRF protection.