mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-24 10:19:59 -05:00
9f33a73ac4
This is a short demo of native key provider APIs in the Autpmation SDK. The demo includes how native key provider can be set as default for the system using pyvmomi. Signed-off-by: Kiril Karaatanssov <kkaraatanassov@vmware.com> |
||
---|---|---|
.. | ||
certificatemanagement | ||
crypto_manager/kms | ||
discovery_and_plan | ||
guest | ||
hcl | ||
helper | ||
hvc | ||
namespace_management | ||
setup | ||
topologysvc | ||
vlcm | ||
vm | ||
vstats | ||
wcp | ||
__init__.py | ||
README.md |
This directory contains samples for the vSphere infrastructure and virtual machine APIs. You have two options to run samples inside this package:
-
Run all samples under vcenter folder using main.py in samples.vsphere.vcenter.setup package. Please see the README for more details.
-
Run an individual sample in an existing environment. You can either pass the environment parameters through command line arguments or specify them in testbed.py in the setup package.
For example, to run the create_default_vm sample in the vsphere.samples.vcenter.vm.create package:
* with the testbed settings specified in testbed.py in a Linux machine: $ python samples/vsphere/vcenter/vm/create/create_default_vm.py -v * Or specify the credentials using command line parameters: $ python samples/vsphere/vcenter/vm/create/create_default_vm.py -s <server> -u <username> -p <password> -v