Skip to content

Commit

Permalink
awsAccessGraphOIDCSync: Ensure role parameter is quoted correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jentfoo committed Mar 25, 2024
1 parent fc3aefb commit 89f5d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/integrations_awsoidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ func (h *Handler) awsAccessGraphOIDCSync(w http.ResponseWriter, r *http.Request,
// "teleport integration configure access-graph aws-iam"
argsList := []string{
"integration", "configure", "access-graph", "aws-iam",
fmt.Sprintf("--role=%s", role),
fmt.Sprintf("--role=%s", libutils.UnixShellQuote(role)),
}
script, err := oneoff.BuildScript(oneoff.OneOffScriptParams{
TeleportArgs: strings.Join(argsList, " "),
Expand Down

0 comments on commit 89f5d80

Please sign in to comment.