This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import urllib3 | |
import os, sys, time | |
from vmware.vapi.vsphere.client import create_vsphere_client, VsphereClient | |
from com.vmware.vcenter.crypto_manager import kms_client | |
from com.vmware.vapi.std.errors_client import AlreadyExists | |
from pyVim.connect import SmartConnect | |
from pyVmomi import vim | |
provider_name="native_kms" |