Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--idp-jwt warning for flag that doesn't exist #505

Open
hawksight opened this issue Jul 25, 2024 · 0 comments
Open

--idp-jwt warning for flag that doesn't exist #505

hawksight opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hawksight
Copy link

PROBLEM SUMMARY

vcert getcred -p vcp --token-url https://api.venafi.cloud/v1/oauth2/v2.0/XXXXXX/token --verbose
vCert: 2024/07/22 17:06:00 missing jwt for service account authentication. Set the jwt using --idp-jwt flag

STEPS TO REPRODUCE

See above ^.
Use the getcred subcommand without providing a JWT option, but do include token-url.

EXPECTED RESULTS

Waning should say:

vCert: 2024/07/22 17:06:00 missing jwt for service account authentication. Set the jwt using --external-jwt flag
``

**ACTUAL RESULTS**
<!-- explain what actually happened when you performed the repro steps; exact error messages and screenshots, if applicable -->

Referes to `--idp-jwt` flag which does not exist.

**ENVIRONMENT DETAILS**
<!-- tell us which version you are using for this solution and any other products involved (Venafi or other) -->

```log
vcert version v5.7.1

MacOSX.

COMMENTS/WORKAROUNDS

Use the correct flag. This is more of documentation / logging issue.

@hawksight hawksight added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant