-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
# jdc configure add --profile libingtest --access-key myak --secret-key mysk --region-id cn-north-1 --endpoint www.jdcloud-api.com --scheme https --timeout 20
Configure successfully!
# cat ~/.jdc/config
[libingtest]
access_key = myak
secret_key = mysk
region_id = cn-north-1
endpoint = www.jdcloud-api.com
scheme = https
timeout = 20
current里为default:
# cat ~/.jdc/current
default
# jdc nc describe-containers
Please use `jdc configure add` command to add cli configure first.
手动更改为自定义profile name:
# vi ~/.jdc/current
:s/default/libingtest/g
仍然失败:
# jdc nc describe-containers
Please use `jdc configure add` command to add cli configure first.
不自定义profile:
# jdc configure add --access-key myak --secret-key mysk --region-id cn-north-1 --endpoint www.jdcloud-api.com --scheme https --timeout 20
Configure successfully!
成功:
# jdc nc describe-containers
{
"error": null,
"result": {
"totalCount": 0,
"containers": null
},
"request_id": "bcv8c6whjcj2t6rmpf6fd9qqmqd50nvf"
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels