diff --git a/lib/web/integrations_awsoidc.go b/lib/web/integrations_awsoidc.go index 647bc5b10c883..21f8364c481a9 100644 --- a/lib/web/integrations_awsoidc.go +++ b/lib/web/integrations_awsoidc.go @@ -1456,7 +1456,7 @@ func (h *Handler) awsOIDCPing(w http.ResponseWriter, r *http.Request, p httprout pingResp, err := clt.IntegrationAWSOIDCClient().Ping(ctx, &integrationv1.PingRequest{ Integration: integrationName, - Arn: req.ARN, + Arn: req.RoleARN, }) if err != nil { return nil, trace.Wrap(err) diff --git a/lib/web/ui/integration.go b/lib/web/ui/integration.go index 7773571fecc55..f1eaf46188164 100644 --- a/lib/web/ui/integration.go +++ b/lib/web/ui/integration.go @@ -528,8 +528,8 @@ type AWSOIDCPingResponse struct { // AWSOIDCPingRequest contains ping request fields. type AWSOIDCPingRequest struct { - // ARN is optional, and used for cases such as + // RoleARN is optional, and used for cases such as // pinging to check validity before upserting an // AWS OIDC integration. - ARN string `json:"arn,omitempty"` + RoleARN string `json:"roleArn,omitempty"` }