This chapter contains a preliminary section about required resources, and then sections providing a summary of authentication options.
Subsequent sections describe how to set up a test environment for various SDKs so you can run sample programs that:
- Open a connection to the server and create an authenticated session.
- Create a 'Hello' folder in a data center.
- Create a tag category.
- Create a tag within the category.
- Attach the tag to the folder.
Although these code examples create several objects, they do not delete anything. You can verify the results by using the VMware vSphere Client™, then delete the sample objects manually if you want to run another example.
Note: The code examples in this book use basic authentication and omit server certificate verification for simplicity. In a production environment you should use stricter security practices.