Skip to content

Commit

Permalink
Merge pull request #518 from maelvls/flag-idp-jwt-fix
Browse files Browse the repository at this point in the history
Fix some mentions to the removed `--idp-jwt` that was renamed to `--external-jwt`
  • Loading branch information
luispresuelVenafi authored Nov 6, 2024
2 parents 50cffe1 + 5d4ebf8 commit 0b9a778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/vcert/validatorsCloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ func validateConnectionFlagsCloud(commandName string) error {
emailPresent := flags.email != ""

if tokenURLPresent && !jwtPresent {
return fmt.Errorf("missing jwt for service account authentication. Set the jwt using --idp-jwt flag")
return fmt.Errorf("missing jwt for service account authentication. Set the jwt using --external-jwt flag")
}

advice := "Use --token-url/--idp-jwt for authentication or --email for registration"
advice := "Use --token-url/--external-jwt for authentication or --email for registration"
if !svcAccountPresent && !emailPresent {
return fmt.Errorf("missing flags for Venafi Cloud Platform authentication. %s", advice)
}
Expand Down

0 comments on commit 0b9a778

Please sign in to comment.