Skip to content

Commit

Permalink
add no-credential-process flag back into command (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaWilkes authored Oct 10, 2023
1 parent 2f1b9c6 commit 4162429
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/granted/sso.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ var PopulateCommand = cli.Command{
&cli.StringFlag{Name: "sso-region", Usage: "Specify the SSO region"},
&cli.StringSliceFlag{Name: "source", Usage: "The sources to load AWS profiles from", Value: cli.NewStringSlice("aws-sso")},
&cli.BoolFlag{Name: "prune", Usage: "Remove any generated profiles with the 'common_fate_generated_from' key which no longer exist"},
&cli.StringFlag{Name: "profile-template", Usage: "Specify profile name template", Value: awsconfigfile.DefaultProfileNameTemplate}},
&cli.StringFlag{Name: "profile-template", Usage: "Specify profile name template", Value: awsconfigfile.DefaultProfileNameTemplate},
&cli.BoolFlag{Name: "no-credential-process", Usage: "Generate profiles without the Granted credential-process integration"},
},
Action: func(c *cli.Context) error {
ctx := c.Context
fullCommand := fmt.Sprintf("%s %s", c.App.Name, c.Command.FullName()) // e.g. 'granted sso populate'
Expand Down

0 comments on commit 4162429

Please sign in to comment.