Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(batch-exports): disable browser autofill on S3 credential inputs (#59887)

Michael Matloka13d3e25ca223
diff --git a/frontend/src/scenes/data-pipelines/batch-exports/BatchExportEditForm.tsx b/frontend/src/scenes/data-pipelines/batch-exports/BatchExportEditForm.tsx
index ca18f7891715..63456877775a 100644
--- a/frontend/src/scenes/data-pipelines/batch-exports/BatchExportEditForm.tsx
+++ b/frontend/src/scenes/data-pipelines/batch-exports/BatchExportEditForm.tsx
@@ -291,11 +291,18 @@ export function BatchExportsEditFields({
<div className="flex gap-4">
<LemonField name="aws_access_key_id" label="AWS Access Key ID" className="flex-1">
- <LemonInput placeholder={isNew ? 'e.g. AKIAIOSFODNN7EXAMPLE' : 'Leave unchanged'} />
+ <LemonInput
+ placeholder={isNew ? 'e.g. AKIAIOSFODNN7EXAMPLE' : 'Leave unchanged'}
+ autoComplete="off"
+ />
</LemonField>
<LemonField name="aws_secret_access_key" label="AWS Secret Access Key" className="flex-1">
- <LemonInput placeholder={isNew ? 'e.g. secret-key' : 'Leave unchanged'} type="password" />
+ <LemonInput
+ placeholder={isNew ? 'e.g. secret-key' : 'Leave unchanged'}
+ type="password"
+ autoComplete="new-password"
+ />
</LemonField>
{batchExportConfigForm.encryption == 'aws:kms' && (
@@ -580,7 +587,10 @@ export function BatchExportsEditFields({
label="AWS Access Key ID"
className="flex-1"
>
- <LemonInput placeholder={isNew ? 'e.g. AKIAIOSFODNN7EXAMPLE' : 'Leave unchanged'} />
+ <LemonInput
+ placeholder={isNew ? 'e.g. AKIAIOSFODNN7EXAMPLE' : 'Leave unchanged'}
+ autoComplete="off"
+ />
</LemonField>
<LemonField
@@ -591,6 +601,7 @@ export function BatchExportsEditFields({
<LemonInput
placeholder={isNew ? 'e.g. secret-key' : 'Leave unchanged'}
type="password"
+ autoComplete="new-password"
/>
</LemonField>
</div>
@@ -631,6 +642,7 @@ export function BatchExportsEditFields({
>
<LemonInput
placeholder={isNew ? 'e.g. AKIAIOSFODNN7EXAMPLE' : 'Leave unchanged'}
+ autoComplete="off"
/>
</LemonField>
@@ -642,6 +654,7 @@ export function BatchExportsEditFields({
<LemonInput
placeholder={isNew ? 'e.g. secret-key' : 'Leave unchanged'}
type="password"
+ autoComplete="new-password"
/>
</LemonField>
</div>