vcd-cli
vcd-cli copied to clipboard
vcd-cli and org case sensitivity
Small issue we found out:
root@cse [ ~ ]# vcd login vcd.fqdn.com DEMO admin --password 'secretpassword' -i -w
admin logged in, org: 'DEMO', vdc: 'OvDC-PAYG-01'
root@cse [ ~ ]# vcd vdc list
in_use name org
-------- ------------ -----
True OvDC-PAYG-01 DEMO
root@cse [ ~ ]# vcd login vcd.fqdn.com demo admin --password 'secretpassword' -i -w
admin logged in, org: 'demo', vdc: 'OvDC-PAYG-01'
root@cse [ ~ ]# vcd vdc list
root@cse [ ~ ]# vcd login vcd.fqdn.com DEMO admin --password 'secretpassword' -i -w
admin logged in, org: 'DEMO', vdc: 'OvDC-PAYG-01'
root@cse [ ~ ]# vcd vdc list
in_use name org
-------- ------------ -----
True OvDC-PAYG-01 DEMO
That's because I suspect when you create the authentication token case sensitivity has no impact as you just POST to /api/sessions with credentials, to generate the auth token, but not the rest ?
vCD is case insensitive when it comes to org names. However the cli isn't. We will look into this. Thanks