v3 API doc: credentials blob content should be JSON-in-a-string instead of actual JSON

Bug #1413627 reported by Darren Hague
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Darren Hague

Bug Description

The OpenStack Identity v3 API documentation (http://developer.openstack.org/api-ref-identity-v3.html) has incorrect examples of how to format EC2 credentials.

The documentation says to use
  blob: { "access":"--access key--", "secret":"--secret key--"}
but Keystone rejects this with a 400 error.

The value of blob must actually be a string value, and the JSON for access & secret keys is encoded within this string:
  "blob": "{\"access\":\"--access-key--\",\"secret\":\"--secret-key--\"}"

Darren Hague (dhague)
Changed in keystone:
assignee: nobody → Darren Hague (dhague)
status: New → In Progress
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
Darren Hague (dhague) wrote :

Fix is submitted for review: https://review.openstack.org/#/c/149330/

Darren Hague (dhague)
Changed in keystone:
assignee: Darren Hague (dhague) → nobody
Changed in openstack-api-site:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Darren Hague (dhague)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/149330
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=dd38f4b31b1e1fada0f64bba5ea4a192914f6769
Submitter: Jenkins
Branch: master

commit dd38f4b31b1e1fada0f64bba5ea4a192914f6769
Author: Darren Hague <email address hidden>
Date: Thu Jan 22 15:36:08 2015 +0000

    credentials blob content corrected to be JSON-in-a-string

    Corrected the JSON examples for the Identity /v3/credentials endpoint
    and updated the explanatory text accordingly.

    Change-Id: I2931c21d0460a644eb421ebfdc5d1626d20d6618
    Closes-Bug: 1413627

Changed in openstack-api-site:
status: In Progress → Fix Released
Darren Hague (dhague)
no longer affects: keystone
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.