← Back to team overview

openstack team mailing list archive

Re: Docs: credentials create FAILURE

 

On Mon, Feb 27, 2012 at 2:50 PM, Andiabes <andi.abes@xxxxxxxxx> wrote:
> Of by testing authentication, you mean verifying that correct user/ password combinations are allowed, and incorrect ones are not, then look here:
> http://docs.openstack.org/diablo/openstack-compute/install/content/verifying-identity-install.html
>
> Only valid creds will return a token.

I see this:
curl -d '{"auth": {"tenantName": "adminTenant",
"passwordCredentials":{"username": "adminUser", "password":
"secretword"}}}' -H "Content-type: application/json"
http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool

What are constants and what are variables ?
Maybe it should becomes this:
curl -d '{"auth": {"tenantName": "adminTenant",
"passwordCredentials":{"username": "<adminUser>", "password":
"<admin_password>"}}}' -H "Content-type: application/json"
http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool

I added:
<adminUser> and <admin_password>.

Correct ?

========================================================
About my previous Q: Does legacy auth scheme supported in Essex ? Or
keystone only ?

-- 
-Alexey Eromenko "Technologov"


Follow ups

References