The credential store only works with the Connect-VIServer cmdlet. I would like it to work with the other Connect-* cmdlets as well.
This is very useful if you run scripts not only against vSphere but also for example against vCloud Director. Specialy when you run the script as a scheduled task.
You can use the credential store with Connect-CIServer, if you specify the organization after the username separated by a colon, for example, to connect to the system organization, you can use the following command: New-VICredentialStoreItem -host ciserver -user user:system -Password password
You can use the credential store with Connect-CIServer, if you specify the organization after the username separated by a colon, for example, to connect to the system organization, you can use the following command: New-VICredentialStoreItem -host ciserver -user user:system -Password password
vRops cmdlets would be another useful user of the vi credential store.