Skip to content

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

chore(aws-auth): remove unused sts endpoint

bernie-g8299c45f7668
diff --git a/backend/src/db/migrations/20260929192027_drop-resource-aws-auth-sts-endpoint.ts b/backend/src/db/migrations/20260929192027_drop-resource-aws-auth-sts-endpoint.ts
new file mode 100644
index 0000000000..ffb0e2e5ae
--- /dev/null
+++ b/backend/src/db/migrations/20260929192027_drop-resource-aws-auth-sts-endpoint.ts
@@ -0,0 +1,19 @@
+import { Knex } from "knex";
+
+import { TableName } from "../schemas";
+
+export async function up(knex: Knex): Promise<void> {
+ if (await knex.schema.hasColumn(TableName.ResourceAwsAuth, "stsEndpoint")) {
+ await knex.schema.alterTable(TableName.ResourceAwsAuth, (t) => {
+ t.dropColumn("stsEndpoint");
+ });
+ }
+}
+
+export async function down(knex: Knex): Promise<void> {
+ if (!(await knex.schema.hasColumn(TableName.ResourceAwsAuth, "stsEndpoint"))) {
+ await knex.schema.alterTable(TableName.ResourceAwsAuth, (t) => {
+ t.string("stsEndpoint").notNullable().defaultTo("https://sts.amazonaws.com/");
+ });
+ }
+}
diff --git a/backend/src/db/schemas/resource-aws-auths.ts b/backend/src/db/schemas/resource-aws-auths.ts
index 48532c784c..9503b32bac 100644
--- a/backend/src/db/schemas/resource-aws-auths.ts
+++ b/backend/src/db/schemas/resource-aws-auths.ts
@@ -10,7 +10,6 @@ import { TImmutableDBKeys } from "./models";
export const ResourceAwsAuthsSchema = z.object({
id: z.string().uuid(),
authMethodId: z.string().uuid(),
- stsEndpoint: z.string(),
allowedPrincipalArns: z.string().default(""),
allowedAccountIds: z.string().default(""),
createdAt: z.date(),
diff --git a/backend/src/ee/routes/v1/kmip-server-router.ts b/backend/src/ee/routes/v1/kmip-server-router.ts
index 2b4bea87c5..11c9385d47 100644
--- a/backend/src/ee/routes/v1/kmip-server-router.ts
+++ b/backend/src/ee/routes/v1/kmip-server-router.ts
@@ -59,7 +59,6 @@ const KmipServerWithAuthMethodSchema = SanitizedKmipServerSchema.extend({
const AwsAuthMethodInputSchema = z.object({
method: z.literal(ResourceAuthMethodType.Aws),
- stsEndpoint: z.string().trim().min(1).max(255).default("https://sts.amazonaws.com/"),
allowedPrincipalArns: validatePrincipalArns,
allowedAccountIds: validateAccountIds.refine(
(val) => val.length <= 2048,
@@ -120,7 +119,6 @@ export const registerKmipServerRouter = async (server: FastifyZodProvider) => {
? {
method: "aws" as const,
config: {
- stsEndpoint: authMethodInput.stsEndpoint,
allowedPrincipalArns: authMethodInput.allowedPrincipalArns,
allowedAccountIds: authMethodInput.allowedAccountIds
}
@@ -280,7 +278,6 @@ export const registerKmipServerRouter = async (server: FastifyZodProvider) => {
authMethodInput.method === ResourceAuthMethodType.Aws
? {
method: "aws" as const,
- stsEndpoint: authMethodInput.stsEndpoint,
allowedPrincipalArns: authMethodInput.allowedPrincipalArns,
allowedAccountIds: authMethodInput.allowedAccountIds
}
diff --git a/backend/src/ee/routes/v2/relay-router.ts b/backend/src/ee/routes/v2/relay-router.ts
index 134de5e3e4..e74b61eac8 100644
--- a/backend/src/ee/routes/v2/relay-router.ts
+++ b/backend/src/ee/routes/v2/relay-router.ts
@@ -33,7 +33,6 @@ const RelayWithAuthMethodSchema = SanitizedRelaySchema.extend({
const AwsAuthMethodInputSchema = z
.object({
method: z.literal(ResourceAuthMethodType.Aws),
- stsEndpoint: z.string().trim().min(1).max(255).default("https://sts.amazonaws.com/"),
allowedPrincipalArns: validatePrincipalArns,
allowedAccountIds: validateAccountIds.refine(
(val) => val.length <= 2048,
@@ -76,7 +75,6 @@ export const registerRelayV2Router = async (server: FastifyZodProvider) => {
? {
method: "aws" as const,
config: {
- stsEndpoint: authMethodInput.stsEndpoint,
allowedPrincipalArns: authMethodInput.allowedPrincipalArns,
allowedAccountIds: authMethodInput.allowedAccountIds
}
@@ -229,7 +227,6 @@ export const registerRelayV2Router = async (server: FastifyZodProvider) => {
authMethodInput.method === ResourceAuthMethodType.Aws
? {
method: "aws" as const,
- stsEndpoint: authMethodInput.stsEndpoint,
allowedPrincipalArns: authMethodInput.allowedPrincipalArns,
allowedAccountIds: authMethodInput.allowedAccountIds
}
diff --git a/backend/src/ee/routes/v3/gateway-router.ts b/backend/src/ee/routes/v3/gateway-router.ts
index cdee6c2ba6..92a5cb3427 100644
--- a/backend/src/ee/routes/v3/gateway-router.ts
+++ b/backend/src/ee/routes/v3/gateway-router.ts
@@ -56,13 +56,6 @@ const GatewayWithAuthMethodSchema = SanitizedGatewayV2Schema.extend({
const AwsAuthMethodInputSchema = z
.object({
method: z.literal(ResourceAuthMethodType.Aws),
- stsEndpoint: z
- .string()
- .trim()
- .min(1)
- .max(255)
- .default("https://sts.amazonaws.com/")
- .describe(GATEWAYS.AUTH_METHOD.stsEndpoint),
allowedPrincipalArns: validatePrincipalArns.describe(GATEWAYS.AUTH_METHOD.allowedPrincipalArns),
allowedAccountIds: validateAccountIds
.refine((val) => val.length <= 2048, "Allowed account IDs must be at most 2048 characters")
@@ -163,7 +156,6 @@ const toCreateAuthMethodArg = (input: TSettableAuthMethodInput) => {
return {
method: ResourceAuthMethodType.Aws,
config: {
- stsEndpoint: input.stsEndpoint,
allowedPrincipalArns: input.allowedPrincipalArns,
allowedAccountIds: input.allowedAccountIds
}
@@ -204,7 +196,6 @@ const toSetAuthMethodArg = (input: TSettableAuthMethodInput) => {
if (input.method === ResourceAuthMethodType.Aws) {
return {
method: ResourceAuthMethodType.Aws,
- stsEndpoint: input.stsEndpoint,
allowedPrincipalArns: input.allowedPrincipalArns,
allowedAccountIds: input.allowedAccountIds
} as const;
diff --git a/backend/src/ee/services/audit-log/audit-log-types.ts b/backend/src/ee/services/audit-log/audit-log-types.ts
index 7d0c0e6bc0..d546f99f98 100644
--- a/backend/src/ee/services/audit-log/audit-log-types.ts
+++ b/backend/src/ee/services/audit-log/audit-log-types.ts
@@ -7527,7 +7527,6 @@ interface ResourceAuthMethodConfigMetadata {
resourceName?: string;
method: ResourceAuthMethodType;
methodConfigId: string;
- stsEndpoint?: string;
allowedPrincipalArns?: string;
allowedAccountIds?: string;
kubernetesHost?: string;
diff --git a/backend/src/ee/services/kmip-server/kmip-server-service.ts b/backend/src/ee/services/kmip-server/kmip-server-service.ts
index 660bcb58f7..4ad79addc9 100644
--- a/backend/src/ee/services/kmip-server/kmip-server-service.ts
+++ b/backend/src/ee/services/kmip-server/kmip-server-service.ts
@@ -53,7 +53,7 @@ export const kmipServerServiceFactory = ({
ttl?: string;
keyAlgorithm?: string;
authMethod:
- | { method: "aws"; config: { stsEndpoint: string; allowedPrincipalArns: string; allowedAccountIds: string } }
+ | { method: "aws"; config: { allowedPrincipalArns: string; allowedAccountIds: string } }
| { method: "token" };
actor: TActor;
}) => {
diff --git a/backend/src/ee/services/relay/relay-service.ts b/backend/src/ee/services/relay/relay-service.ts
index 90fa50937f..71269bd5fa 100644
--- a/backend/src/ee/services/relay/relay-service.ts
+++ b/backend/src/ee/services/relay/relay-service.ts
@@ -1306,7 +1306,7 @@ export const relayServiceFactory = ({
name: string;
host: string;
authMethod:
- | { method: "aws"; config: { stsEndpoint: string; allowedPrincipalArns: string; allowedAccountIds: string } }
+ | { method: "aws"; config: { allowedPrincipalArns: string; allowedAccountIds: string } }
| { method: "token" };
actor: {
type: ActorType;
diff --git a/backend/src/ee/services/resource-auth-method/aws-auth-fns.ts b/backend/src/ee/services/resource-auth-method/aws-auth-fns.ts
index 7ac22dd6dd..9be584e2e5 100644
--- a/backend/src/ee/services/resource-auth-method/aws-auth-fns.ts
+++ b/backend/src/ee/services/resource-auth-method/aws-auth-fns.ts
@@ -32,7 +32,6 @@ type TVerifyStsCallerInput = {
iamHttpRequestMethod: string;
iamRequestBody: string;
iamRequestHeaders: string;
- defaultStsEndpoint: string;
errorContext: Record<string, unknown>;
};
@@ -44,7 +43,6 @@ export const verifyStsAndExtractCaller = async ({
iamHttpRequestMethod,
iamRequestBody,
iamRequestHeaders,
- defaultStsEndpoint,
errorContext
}: TVerifyStsCallerInput) => {
let headers: TAwsGetCallerIdentityHeaders;
@@ -69,7 +67,7 @@ export const verifyStsAndExtractCaller = async ({
});
}
- const url = region ? `https://sts.${region}.amazonaws.com` : defaultStsEndpoint;
+ const url = `https://sts.${region}.amazonaws.com`;
let stsResponse: { data: TGetCallerIdentityResponse };
try {
diff --git a/backend/src/ee/services/resource-auth-method/resource-auth-method-audit-fns.ts b/backend/src/ee/services/resource-auth-method/resource-auth-method-audit-fns.ts
index 7b4f5d6f03..1f4cfd3301 100644
--- a/backend/src/ee/services/resource-auth-method/resource-auth-method-audit-fns.ts
+++ b/backend/src/ee/services/resource-auth-method/resource-auth-method-audit-fns.ts
@@ -21,7 +21,6 @@ export const resourceAuthMethodAuditMetadata = ({
...base,
method: view.method,
methodConfigId: view.config.id,
- stsEndpoint: view.config.stsEndpoint,
allowedPrincipalArns: view.config.allowedPrincipalArns,
allowedAccountIds: view.config.allowedAccountIds
};
diff --git a/backend/src/ee/services/resource-auth-method/resource-auth-method-schemas.ts b/backend/src/ee/services/resource-auth-method/resource-auth-method-schemas.ts
index c6afb4de4f..3dce68193e 100644
--- a/backend/src/ee/services/resource-auth-method/resource-auth-method-schemas.ts
+++ b/backend/src/ee/services/resource-auth-method/resource-auth-method-schemas.ts
@@ -4,7 +4,6 @@ import { ResourceAuthMethodType } from "./resource-auth-method-fns";
export const AwsAuthMethodConfigSchema = z.object({
id: z.string().uuid(),
- stsEndpoint: z.string(),
allowedPrincipalArns: z.string(),
allowedAccountIds: z.string(),
createdAt: z.date(),
diff --git a/backend/src/ee/services/resource-auth-method/resource-auth-method-service.ts b/backend/src/ee/services/resource-auth-method/resource-auth-method-service.ts
index a180f17849..0ac7dffcc2 100644
--- a/backend/src/ee/services/resource-auth-method/resource-auth-method-service.ts
+++ b/backend/src/ee/services/resource-auth-method/resource-auth-method-service.ts
@@ -370,7 +370,6 @@ export const resourceAuthMethodServiceFactory = ({
method: ResourceAuthMethodType.Aws,
config: {
id: config.id,
- stsEndpoint: config.stsEndpoint,
allowedPrincipalArns: config.allowedPrincipalArns,
allowedAccountIds: config.allowedAccountIds,
createdAt: config.createdAt,
@@ -778,7 +777,6 @@ export const resourceAuthMethodServiceFactory = ({
await resourceAwsAuthDAL.create(
{
authMethodId: registry.id,
- stsEndpoint: authMethod.config.stsEndpoint,
allowedPrincipalArns: authMethod.config.allowedPrincipalArns,
allowedAccountIds: authMethod.config.allowedAccountIds
},
@@ -965,7 +963,6 @@ export const resourceAuthMethodServiceFactory = ({
await resourceAwsAuthDAL.updateById(
existingAws.id,
{
- stsEndpoint: authMethod.stsEndpoint,
allowedPrincipalArns: authMethod.allowedPrincipalArns,
allowedAccountIds: authMethod.allowedAccountIds
},
@@ -975,7 +972,6 @@ export const resourceAuthMethodServiceFactory = ({
await resourceAwsAuthDAL.create(
{
authMethodId: registryRow.id,
- stsEndpoint: authMethod.stsEndpoint,
allowedPrincipalArns: authMethod.allowedPrincipalArns,
allowedAccountIds: authMethod.allowedAccountIds
},
@@ -1163,7 +1159,6 @@ export const resourceAuthMethodServiceFactory = ({
iamHttpRequestMethod,
iamRequestBody,
iamRequestHeaders,
- defaultStsEndpoint: config.stsEndpoint,
errorContext
});
diff --git a/backend/src/ee/services/resource-auth-method/resource-auth-method-types.ts b/backend/src/ee/services/resource-auth-method/resource-auth-method-types.ts
index 0d5e779631..b8a40ce823 100644
--- a/backend/src/ee/services/resource-auth-method/resource-auth-method-types.ts
+++ b/backend/src/ee/services/resource-auth-method/resource-auth-method-types.ts
@@ -8,7 +8,6 @@ import {
} from "./resource-auth-method-fns";
export type TAwsAuthMethodConfig = {
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
};
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts
index a698fe1802..8bfb7f6847 100644
--- a/backend/src/lib/api-docs/constants.ts
+++ b/backend/src/lib/api-docs/constants.ts
@@ -4051,7 +4051,6 @@ export const GATEWAYS = {
"Replacement auth method. Same shape as in create: `aws` with allowlists, `gcp` with GCP allowlists, `kubernetes` with cluster config, or `token` with no config. Existing gateways keep working until they restart and re-authenticate via the new method."
},
AUTH_METHOD: {
- stsEndpoint: "The endpoint URL for the AWS STS API.",
allowedPrincipalArns:
"The comma-separated list of trusted IAM principal ARNs that are allowed to authenticate with Infisical.",
allowedAccountIds:
diff --git a/frontend/src/hooks/api/gateways-v2/types.ts b/frontend/src/hooks/api/gateways-v2/types.ts
index 4991b6a43c..db5928d741 100644
--- a/frontend/src/hooks/api/gateways-v2/types.ts
+++ b/frontend/src/hooks/api/gateways-v2/types.ts
@@ -20,7 +20,6 @@ export type TGatewayV2 = {
export type GatewayAwsAuthConfig = {
id: string;
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
createdAt: string;
@@ -74,7 +73,6 @@ export type TGatewayV2WithAuthMethod = TGatewayV2 & {
export type SettableAuthMethodInput =
| {
method: "aws";
- stsEndpoint?: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
}
diff --git a/frontend/src/hooks/api/kmipServers/types.ts b/frontend/src/hooks/api/kmipServers/types.ts
index c58106903b..240d1f378b 100644
--- a/frontend/src/hooks/api/kmipServers/types.ts
+++ b/frontend/src/hooks/api/kmipServers/types.ts
@@ -5,7 +5,6 @@ export type TKmipServerAuthMethodView =
method: "aws";
config: {
id: string;
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
createdAt: string;
@@ -49,7 +48,6 @@ export type TCreateKmipServerDTO = {
authMethod:
| {
method: "aws";
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
}
@@ -64,7 +62,6 @@ export type TUpdateKmipServerDTO = {
authMethod?:
| {
method: "aws";
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
}
diff --git a/frontend/src/hooks/api/relays/types.ts b/frontend/src/hooks/api/relays/types.ts
index 13473b59c1..de40a0054b 100644
--- a/frontend/src/hooks/api/relays/types.ts
+++ b/frontend/src/hooks/api/relays/types.ts
@@ -3,7 +3,6 @@ export type TRelayAuthMethodView =
method: "aws";
config: {
id: string;
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
createdAt: string;
@@ -45,7 +44,6 @@ export type TCreateRelayDTO = {
authMethod:
| {
method: "aws";
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
}
@@ -58,7 +56,6 @@ export type TUpdateRelayDTO = {
authMethod?:
| {
method: "aws";
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
}
diff --git a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerAuthMethod/KmipServerAuthMethodModal.tsx b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerAuthMethod/KmipServerAuthMethodModal.tsx
index 736a4365e9..f2b98bc0e5 100644
--- a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerAuthMethod/KmipServerAuthMethodModal.tsx
+++ b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerAuthMethod/KmipServerAuthMethodModal.tsx
@@ -33,12 +33,9 @@ const METHOD_OPTIONS: { value: SettableMethod; label: string }[] = [
{ value: "aws", label: "AWS Auth" }
];
-const DEFAULT_STS_ENDPOINT = "https://sts.amazonaws.com/";
-
const schema = z
.object({
method: z.enum(["aws", "token"]),
- stsEndpoint: z.string().max(255, "STS endpoint must be at most 255 characters"),
allowedPrincipalArns: z
.string()
.max(4096, "Allowed principal ARNs must be at most 4096 characters"),
@@ -68,7 +65,6 @@ const toFormDefaults = (currentMethod: TKmipServerAuthMethodView): FormData => {
const aws = currentMethod.method === "aws" ? currentMethod.config : null;
return {
method: currentMethod.method === "aws" ? "aws" : "token",
- stsEndpoint: aws?.stsEndpoint ?? DEFAULT_STS_ENDPOINT,
allowedPrincipalArns: aws?.allowedPrincipalArns ?? "",
allowedAccountIds: aws?.allowedAccountIds ?? ""
};
@@ -108,7 +104,6 @@ export const KmipServerAuthMethodModal = ({
kmipServerId,
authMethod: {
method: "aws",
- stsEndpoint: form.stsEndpoint,
allowedPrincipalArns: form.allowedPrincipalArns,
allowedAccountIds: form.allowedAccountIds
}
@@ -202,22 +197,6 @@ export const KmipServerAuthMethodModal = ({
</Field>
)}
/>
- <Controller
- control={control}
- name="stsEndpoint"
- render={({ field, fieldState: { error } }) => (
- <Field data-invalid={Boolean(error)}>
- <FieldLabel htmlFor="kmip-server-sts-endpoint">STS Endpoint</FieldLabel>
- <Input
- {...field}
- id="kmip-server-sts-endpoint"
- isError={Boolean(error)}
- placeholder={DEFAULT_STS_ENDPOINT}
- />
- <FieldError>{error?.message}</FieldError>
- </Field>
- )}
- />
</>
)}
diff --git a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerDetailsCard/KmipServerDetailsCard.tsx b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerDetailsCard/KmipServerDetailsCard.tsx
index 37e8eeca11..07f8f898d9 100644
--- a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerDetailsCard/KmipServerDetailsCard.tsx
+++ b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/components/KmipServerDetailsCard/KmipServerDetailsCard.tsx
@@ -194,10 +194,6 @@ export const KmipServerDetailsCard = ({ kmipServer }: Props) => {
)}
{authMethod.method === "aws" && (
<>
- <Detail>
- <DetailLabel>STS Endpoint</DetailLabel>
- <DetailValue>{authMethod.config.stsEndpoint}</DetailValue>
- </Detail>
<Detail>
<DetailLabel>Allowed Principal ARNs</DetailLabel>
<DetailValue>
diff --git a/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayDetailsCard/RelayDetailsCard.tsx b/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayDetailsCard/RelayDetailsCard.tsx
index 463c36bbc1..f9c5caa34d 100644
--- a/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayDetailsCard/RelayDetailsCard.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayDetailsCard/RelayDetailsCard.tsx
@@ -244,7 +244,6 @@ export const RelayDetailsCard = ({ relay }: { relay: TRelayWithAuthMethod }) =>
form.method === "aws"
? {
method: "aws",
- stsEndpoint: form.stsEndpoint,
allowedPrincipalArns: form.allowedPrincipalArns,
allowedAccountIds: form.allowedAccountIds
}
diff --git a/frontend/src/pages/organization/NetworkingPage/components/NetworkingAuthMethodForm.tsx b/frontend/src/pages/organization/NetworkingPage/components/NetworkingAuthMethodForm.tsx
index 86e14d5cf6..d114a38723 100644
--- a/frontend/src/pages/organization/NetworkingPage/components/NetworkingAuthMethodForm.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/components/NetworkingAuthMethodForm.tsx
@@ -41,7 +41,6 @@ const REVIEW_MODE_OPTIONS = [
const schema = z
.object({
method: z.enum(["aws", "gcp", "kubernetes", "token"]),
- stsEndpoint: z.string(),
allowedPrincipalArns: z.string(),
allowedAccountIds: z.string(),
gcpAuthType: z.enum(["gce", "iam"]),
@@ -152,7 +151,6 @@ export const toNetworkingAuthMethodInput = (form: FormData) => {
if (form.method === "aws") {
return {
method: "aws" as const,
- stsEndpoint: form.stsEndpoint,
allowedPrincipalArns: form.allowedPrincipalArns,
allowedAccountIds: form.allowedAccountIds
};
@@ -196,7 +194,6 @@ type AuthMethod =
| {
method: "aws";
config: {
- stsEndpoint: string;
allowedPrincipalArns: string;
allowedAccountIds: string;
};
@@ -260,7 +257,6 @@ export const NetworkingAuthMethodForm = ({
);
const defaultValues: FormData = {
method: initialMethod,
- stsEndpoint: initialAws?.stsEndpoint ?? "https://sts.amazonaws.com/",
allowedPrincipalArns: initialAws?.allowedPrincipalArns ?? "",
allowedAccountIds: initialAws?.allowedAccountIds ?? "",
gcpAuthType: initialGcp?.type ?? "gce",
@@ -298,7 +294,6 @@ export const NetworkingAuthMethodForm = ({
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
currentMethod.method,
- initialAws?.stsEndpoint,
initialAws?.allowedPrincipalArns,
initialAws?.allowedAccountIds,
initialGcp?.type,
@@ -406,24 +401,6 @@ export const NetworkingAuthMethodForm = ({
</Field>
)}
/>
- <Controller
- control={control}
- name="stsEndpoint"
- render={({ field, fieldState: { error } }) => (
- <Field>
- <FieldLabel>STS Endpoint</FieldLabel>
- <FieldContent>
- <Input
- {...field}
- disabled={isDisabled || isSaving}
- isError={Boolean(error)}
- placeholder="https://sts.amazonaws.com/"
- />
- <FieldError errors={[error]} />
- </FieldContent>
- </Field>
- )}
- />
</>
)}