fix(install): show AWS access key ID as plain input

The AWS access key ID is not a secret — swap its PasswordInput for a
regular text input so operators can read and edit it directly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-24 12:29:27 -04:00
parent 6d97de0d99
commit b975a802dc

View file

@ -526,18 +526,22 @@ export default function InstallApp() {
{objectStoreForm.credentialMode === "access_key" ? (
<div className="space-y-5">
<Field label="AWS access key ID">
<PasswordInput
inputRef={accessKeyIdInputRef}
<input
ref={accessKeyIdInputRef}
id="aws_access_key_id"
name="aws_access_key_id"
value={objectStoreForm.accessKeyId}
onChange={(value) =>
onChange={(event) =>
setObjectStoreForm((current) => ({
...current,
accessKeyId: value,
accessKeyId: event.target.value,
}))
}
className={`${INPUT_CLASS} font-mono`}
placeholder="AKIA..."
spellCheck={false}
autoComplete="off"
autoCapitalize="off"
/>
</Field>
<Field label="AWS secret access key">