govmomi icon indicating copy to clipboard operation
govmomi copied to clipboard

govc: Add support for prompting password from stdin

Open eaaltonen opened this issue 10 months ago • 2 comments

Description

Add support for the govc tool to prompt for the password directly.

Type of change

Please mark options that are relevant:

  • [X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Run govc find / -type m with vSphere cluster. Enter password when prompted, and check that the command succeeds and output contains VMs.

  • [ ] Test Description 1
  • [ ] Test Description 2

Checklist:

  • [X] My code follows the CONTRIBUTION guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged

eaaltonen avatar Apr 15 '24 11:04 eaaltonen

@eaaltonen, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

vmwclabot avatar Apr 15 '24 11:04 vmwclabot

This Pull Request is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Jul 22 '24 01:07 github-actions[bot]