Last active
August 29, 2015 14:03
-
-
Save elight/3b739682a89793b50e6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export body="{\"auth\":{\"RAX-KSKEY\":\"apiKeyCredentials\":{\"username\":\"$RAX_USERNAME\", \"apiKey\":\"$RAX_API_KEY\"}}}" | |
echo $body | |
echo | |
curl -v -s https://identity.api.rackspacecloud.com/v2.0/tokens -X 'POST' \ | |
-d $body \ | |
-H 'Content-Type: application/json' | python -m json.tool | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment