curl命令

curl -k --insecure -H "Accept: application/json" -H 'Content-Type: application/json' --data '{"username":"你的用户名",
> "password":"你的密码","tenant":"你的租户名称"}' https://你的主机域名或ip/identity/api/tokens

请求出现异常

可能原因是租户名称不正确

{"errors":[{"code":50505,"message":"System exception.","systemMessage":"Failed to create IdP configuration for tenant vsphere","moreInfoUrl":null}]}[

我的电脑@localhost ~]$

你可能感兴趣的:(curl命令)