Hi Steven, 

Thank you for your reply.

> Looks OK, although the example blob is not JSON serialized, despite teh
> description saying "JSON-serialized dictionary".  I think the API will
> tolerate either format though.

I understand somehow.
Credential API that will be called from the Heat that formatted as follows.

{"credential":{"type":"ec2","project_id":"<project uuid>","user_id":"<user 
uuid>",
"blob":"{\"access\":\"<access key>\",\"secret\":\"<secret key>\"}"}}

It looks that blob is serialized string of JSON.

Thank you very much.

> -----Original Message-----
> From: Steven Hardy [mailto:sha...@redhat.com]
> Sent: Tuesday, December 02, 2014 8:17 PM
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: Re: [openstack-dev] [Keystone] creadential API example BUG?
> 
> On Tue, Dec 02, 2014 at 10:17:46AM +0000, Mizutani, Michiyuki wrote:
> > Hi Steven,
> >
> > Thank you for your quick response.
> >
> > The following document is correct as credential API of ec2tokens, isn't
> it?
> > http://developer.openstack.org/api-ref-identity-v3.html
> 
> Yes, the example in
> 
> http://developer.openstack.org/api-ref-identity-v3.html#credentials-v3
> 
> Looks OK, although the example blob is not JSON serialized, despite teh
> description saying "JSON-serialized dictionary".  I think the API will
> tolerate either format though.
> 
> Steve
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to