18.08.2013 Views

vSphere SDK for Perl Programming Guide - Documentation - VMware

vSphere SDK for Perl Programming Guide - Documentation - VMware

vSphere SDK for Perl Programming Guide - Documentation - VMware

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

B<br />

Credential Store <strong>Perl</strong> Library B<br />

The <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> credential store library can be used to automate the logon process <strong>for</strong> non‐interactive<br />

client applications by storing the password in a secured local credential cache that the application can access<br />

at runtime. You can manage the <strong>vSphere</strong> credential store using the credential store library included in the<br />

<strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> and discussed in this appendix.<br />

If an application authenticates itself to a vCenter Server system, it requires no additional authentication to<br />

access any of the ESX/ESXi systems managed by that vCenter Server system.<br />

Authentication can occur as follows:<br />

Specifying the authentication in<strong>for</strong>mation explicitly using one of the command‐line parameters (user<br />

name and password, url, and so on) or configuration file parameters. See “<strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> Common<br />

Options” on page 12.<br />

Using a session file. See “Using a Session File” on page 13.<br />

Using Microsoft SSPI, discussed in “Using Microsoft Windows Security Support Provider Interface<br />

(SSPI)” on page 15.<br />

Using the credential store <strong>Perl</strong> Library, which is included in the <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> and discussed in<br />

this appendix.<br />

See “<strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> Common Options” on page 12 <strong>for</strong> a discussion of the order of precedence.<br />

This appendix explains how to set up and use the credential store and includes a reference to credential store<br />

subroutines. The appendix includes the following topics:<br />

“Credential Store Overview” on page 61<br />

“Credential Store Components” on page 62<br />

“Managing the Credential Store” on page 62<br />

“Using the Credential Store” on page 62<br />

“<strong>vSphere</strong> Credential Store Subroutine Reference” on page 63<br />

“credstore_admin.pl Utility Application” on page 65<br />

Credential Store Overview<br />

Client applications that launch automatically <strong>for</strong> unattended operations, such as cron jobs and software<br />

agents, must be able to log in to the ESX/ESXi hosts without user assistance. The <strong>vSphere</strong> Web Services <strong>SDK</strong><br />

provides client‐side credential store libraries and tools <strong>for</strong> automating the login process in a more secure<br />

manner. After the credential store has been set up, system administrators are no longer required to keep<br />

passwords in local scripts. The credential store can be set up <strong>for</strong> an ESX/ESXi system, or <strong>for</strong> a vCenter Server<br />

system. If an application authenticates itself to a vCenter Server system, it requires no additional<br />

authentication to access any of the ESX/ESXi systems managed by that vCenter Server system.<br />

<strong>VMware</strong>, Inc. 61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!