VMware Cloud Community
RvdNieuwendijk
Leadership
Leadership

How to add a vCD system administrator to the VICredentialStore?

Using the New-VICredentialStoreItem cmdlet it is possible to add credential store items for vCloud Director servers. The credential store items for vCloud Director servers must contain user name and organization in the following format: user_name:organization_name, where both names are lower-cased. I want to add a vCD system administrator to the credential store. A system administrator is not related to a tenant. I have tried user_name, user_name:, and user_name:system with no success. Does anybody know how to add a vCD system administrator to the credential store?

vCD System Administrators.PNG

Message was edited by: Robert van den Nieuwendijk

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos
2 Replies
bradleyjs
Contributor
Contributor

Is this what you're looking for:

New-VICredentialStoreItem -Host "xxxxxxxxxxxxxx" -User Administrator@vsphere.local -Password password

0 Kudos
f00fbug
Contributor
Contributor

Connect-CIServer has a -SaveCredentials flag, which will save the credentials to the local credential store. This has been working for me.

0 Kudos