← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1613466] [NEW] Update credential to "ec2" type accepts a credential without the project set

 

Public bug reported:

In the credentials API schema validation [1] is mandatory to include a
project when creating a credential of the "ec2" type, but we can create
a credential from a different type and update it to "ec2" without
providing a project [2].

[1] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L29-L55
[2] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L57-L62

** Affects: keystone
     Importance: Undecided
         Status: New

** Description changed:

- In the credentials API schema validation [1], it is mandatory to include
- a project when creating a credential of the "ec2" type, but we can
- create a credential from a different type and update it to "ec2" without
+ In the credentials API schema validation [1] is mandatory to include a
+ project when creating a credential of the "ec2" type, but we can create
+ a credential from a different type and update it to "ec2" without
  providing a project [2].
  
- [1] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L29-L55 
+ [1] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L29-L55
  [2] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L57-L62

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1613466

Title:
  Update credential to "ec2" type accepts a credential without the
  project set

Status in OpenStack Identity (keystone):
  New

Bug description:
  In the credentials API schema validation [1] is mandatory to include a
  project when creating a credential of the "ec2" type, but we can
  create a credential from a different type and update it to "ec2"
  without providing a project [2].

  [1] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L29-L55
  [2] https://github.com/openstack/keystone/blob/master/keystone/credential/schema.py#L57-L62

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1613466/+subscriptions


Follow ups