1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 01:39:58 -05:00
vsphere-automation-sdk-python/samples/vsphere/hardwaretpm
2024-07-05 12:00:20 +05:30
..
README.md Adding the deliverables for vcenter, nsx. Adding the new samples. Update the README.md, setup.py and other files for 8.0U3 2024-07-05 12:00:20 +05:30
tpm_info.py Adding the deliverables for vcenter, nsx. Adding the new samples. Update the README.md, setup.py and other files for 8.0U3 2024-07-05 12:00:20 +05:30

This directory contains sample for getting TPM information using Trust Authority APIs added in vcenter_version = '8.0+' * Get ESX TPM information - tpm_info.py

Running the samples $ python /.py --server --username --password

  • Testbed Requirement:

    • 1 vCenter Server
    • 1 ESX host with TPM enabled
  • Sample output python samples/vsphere/hardwaretpm/tpm_info.py -s -u -p --skipverification vcenter server = vc username =


TPM Information

'major_version: 2' 'minor_version: 0' 'active: True' 'manufacturer: NTC' 'model: rls' 'firmware_version: 1.3.1.0'


TPM Endorsement key

('-----BEGIN PUBLIC KEY-----\n' 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1I65uMJU5MugQzl3K6yg\n' 'Zjzed6aP7MX1Cl670NsvMSXs4FRdNZ1wkJHFUHrSG6ihBmHoziqWKhMjv3g9qrmJ\n' 'tGR6uGsDi2nFsjn0/AK5epDQsQC6FffE6OotqAMtx+MocuU6XOacZ0lyjUcVGZRX\n' 'RLK1TmRL3ugupFDe0XLcQZPNzv4cYNLub3prYEgEcpac89xVEn/TCyRK/nMGTHxs\n' 'Z1oMI+FjpKMh5Vj/6c2gwhoX7tYQFXZOLy6S9prok5fWgHssZAjQNLjp1rihVpp3\n' '6BIkCBRw+LSEdz47naOsZN7NEYO78It3JGlPt2fpYVJ6+/8ObUa5Sv8svzFOb0Qq\n' 'rQIDAQAB\n' '-----END PUBLIC KEY-----\n')