add huaweicloud iam sub-account support

This commit is contained in:
gclm 2021-06-28 20:13:25 +08:00
parent a72639a3a5
commit 1dc873d9c5

View File

@ -257,7 +257,7 @@ _get_token() {
_auth=$4 _auth=$4
_debug "Getting Token" _debug "Getting Token"
if [ "$_auth" != "main" ]; then if [ "$_auth" == "main" ]; then
body="{ body="{
\"auth\": { \"auth\": {
\"identity\": { \"identity\": {