Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement: display slug for aws regions

Scott Wilson849510784990
diff --git a/frontend/src/pages/integrations/aws-parameter-store/create.tsx b/frontend/src/pages/integrations/aws-parameter-store/create.tsx
index 5af4a86c2b..905da78545 100644
--- a/frontend/src/pages/integrations/aws-parameter-store/create.tsx
+++ b/frontend/src/pages/integrations/aws-parameter-store/create.tsx
@@ -245,8 +245,8 @@ export default function AWSParameterStoreCreateIntegrationPage() {
className="w-full border border-mineshaft-500"
>
{awsRegions.map((awsRegion) => (
- <SelectItem value={awsRegion.slug} key={`flyio-environment-${awsRegion.slug}`}>
- {awsRegion.name}
+ <SelectItem value={awsRegion.slug} key={`aws-environment-${awsRegion.slug}`}>
+ {awsRegion.name} <span className="text-mineshaft-400">{awsRegion.slug}</span>
</SelectItem>
))}
</Select>
diff --git a/frontend/src/pages/integrations/aws-secret-manager/create.tsx b/frontend/src/pages/integrations/aws-secret-manager/create.tsx
index d183797897..4f58fcc555 100644
--- a/frontend/src/pages/integrations/aws-secret-manager/create.tsx
+++ b/frontend/src/pages/integrations/aws-secret-manager/create.tsx
@@ -267,8 +267,12 @@ export default function AWSSecretManagerCreateIntegrationPage() {
className="w-full border border-mineshaft-500"
>
{awsRegions.map((awsRegion) => (
- <SelectItem value={awsRegion.slug} key={`flyio-environment-${awsRegion.slug}`}>
- {awsRegion.name}
+ <SelectItem
+ value={awsRegion.slug}
+ className="flex w-full justify-between"
+ key={`aws-environment-${awsRegion.slug}`}
+ >
+ {awsRegion.name} <span className="text-mineshaft-400">{awsRegion.slug}</span>
</SelectItem>
))}
</Select>
diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgEncryptionTab/AwsKmsForm.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgEncryptionTab/AwsKmsForm.tsx
index aef80cbcef..7ea0a4e6e9 100644
--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgEncryptionTab/AwsKmsForm.tsx
+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgEncryptionTab/AwsKmsForm.tsx
@@ -244,7 +244,7 @@ export const AwsKmsForm = ({ onCompleted, onCancel, kms }: Props) => {
>
{AWS_REGIONS.map((awsRegion) => (
<SelectItem value={awsRegion.slug} key={`kms-aws-region-${awsRegion.slug}`}>
- {awsRegion.name} ({awsRegion.slug})
+ {awsRegion.name} <span className="text-mineshaft-400">{awsRegion.slug}</span>
</SelectItem>
))}
</Select>