cloudAccount_create¶
-
POST /users/{uid}/accounts
Creates a new cloud account for an user.
Please refer to credAccount for a complete list of all the cloud account
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
cloud_account_create
HTTP Request Body Parameters¶
A credAccount object
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/accounts" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:credAccount xmlns:ns0="http://www.usharesoft.com/uforge">
<xsi:type></xsi:type>
<name>OpenStack Example</name>
<targetPlatform>
<name>OpenStack</name>
</targetPlatform>
<glanceUrl>http://ip:9292</glanceUrl>
<keystoneUrl>http://ip:5000</keystoneUrl>
<login>username</login>
<password>password</password>
<keystoneVersion>v3</keystoneVersion>
</ns0:credAccount>