Skip to content

Instantly share code, notes, and snippets.

@vu2
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vu2/b2758e78b795a5592f3e to your computer and use it in GitHub Desktop.
Save vu2/b2758e78b795a5592f3e to your computer and use it in GitHub Desktop.
# curl -i -X POST -H "Accept: application/json" \
-d '{ "auth": { "passwordCredentials": { "username": "APIユーザーのユーザー名", "password": "APIユーザーのパスワード" }, "tenantId": "テナント情報のテナントID" } }' \
"Identity ServiceのURLの後ろに/tokensを繋げる"
# curl -i -X POST -H "Accept: application/json" \
-d '{ "auth": { "passwordCredentials": { "username": "gncu73100742", "password": "ConoHaTokenSamplePassword-123" }, "tenantId": "c5418515528549d6a5c78e901b831497" } }' \
https://identity.tyo1.conoha.io/v2.0/tokens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment