summaryrefslogtreecommitdiff
path: root/openstackclient/identity
Commit message (Collapse)AuthorAgeFilesLines
* Command doc: mappingSteve Martinelli2015-01-081-18/+21
| | | | | | | Also tweaked the code for `mapping set` as it was previously using cliff Show instead of cliff Command. Change-Id: I0ea1383a9f2dddf4b2f717b2aa16bbd60ab1720c
* Merge "Add endpoint v3 docs"Jenkins2015-01-042-49/+69
|\
| * Add endpoint v3 docsDean Troyer2015-01-022-49/+69
| | | | | | | | | | | | (update: change version description formats for API versioning) Change-Id: I499ea1d80ad6ad6392468305f761e695d7261e33
* | Merge "Command docs: group"Jenkins2015-01-031-18/+21
|\ \
| * | Command docs: groupDean Troyer2015-01-031-18/+21
| | | | | | | | | | | | | | | | | | Fix up formatting for group command docs and help Change-Id: Icda79842d52da90d5eac2b0fdbc0d576d371378d
* | | Merge "type should be required for v2.0 service create"Jenkins2015-01-031-8/+33
|\ \ \
| * | | type should be required for v2.0 service createlin-hua-cheng2014-12-301-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the service name to be optional, mostly matching the cli arguments with v3 service create. Implemented the following changes on service create: - if only a single positional is present, it's a <type>. This is not currently legal so it is considered a new case. - if --type option is present the positional is handled as <name>; display deprecation message - if --name option is present the positional is handled as <type>. Making --type optional is new, but back-compatible - Made --name and --type mutually exclusive. - only '--name <service-name> <type>' shall appear in the help output Change-Id: I8fd4adba3d8cd00d5a8cacc2c494d99d492c45a3 Closes-Bug: #1404073
* | | | Merge "Command docs: ec2 credentials"Jenkins2015-01-021-6/+8
|\ \ \ \
| * | | | Command docs: ec2 credentialsDean Troyer2015-01-021-6/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | Add ec2 credentials docs Change-Id: I1699d1c8e9859153557081966654646966a3268d
* | | | Merge "Rename column to `default project id` for long listing v3 user"Jenkins2015-01-021-4/+9
|\ \ \ \ | |/ / / |/| | |
| * | | Rename column to `default project id` for long listing v3 userSteve Martinelli2015-01-021-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this column was coming up as empty, since user's have a `default project id`, not just `project id`. Change-Id: I3d7f7eb600e9526b9c6cc2a8c5d6009b9100b1f5
* | | | Merge "Command docs: region"Jenkins2015-01-021-19/+19
|\ \ \ \
| * | | | Command docs: regionDean Troyer2014-12-311-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix up formatting fro region command docs and help Change-Id: Icf8c03da38b30fc69e7fe70f9c14aaa99881d320
* | | | | Merge "Command docs: domain"Jenkins2015-01-021-11/+13
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Command docs: domainDean Troyer2014-12-311-11/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Change the implementation of --enable|--disable on domain create and set commands to our usual style. Change-Id: I10f2b96281a114fa3cf3b001394844770b2a8632
* | | | Merge "Allow service description to be set for KS V3"Jenkins2014-12-301-0/+14
|\ \ \ \ | |/ / / |/| | |
| * | | Allow service description to be set for KS V3lin-hua-cheng2014-12-231-0/+14
| | |/ | |/| | | | | | | | | | Change-Id: Ibf84882c9a9f408268c225190436fc1a534e1017 Closes-Bug: #1404997
* | | Merge "add doc for domain command"Jenkins2014-12-301-12/+12
|\ \ \
| * | | add doc for domain commandwanghong2014-12-241-12/+12
| | | | | | | | | | | | | | | | Change-Id: I8b5575a5f27362fa375746b955e1f17a5a8b29a6
* | | | Merge "add doc for role assignment command"Jenkins2014-12-241-6/+6
|\ \ \ \
| * | | | add doc for role assignment commandwanghong2014-12-241-6/+6
| |/ / / | | | | | | | | | | | | Change-Id: I594d444b6d1ec4e72bed03394178293737f26069
* | | | add doc for group commandwanghong2014-12-241-18/+18
|/ / / | | | | | | | | | Change-Id: Iaaa0aeb42f9f940af63863f5d09011b5f7529281
* | | add multi-delete support for identitywanghong2014-12-237-69/+82
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This is part2. Add support for these objects: identity.project(v2.0) identity.role(v2.0) identity.user(v2.0) identity.project(v3) identity.role(v3) identity.user(v3) identity.group(v3) Closes-Bug: #1400597 Change-Id: I270434d657cf4ddc23c3aba2c704d6ef184b0dbc
* | Don't import form keystoneclient.openstack.commonJamie Lennox2014-12-178-8/+8
|/ | | | | | | | The keystoneclient.openstack.common directory is where we sync files from oslo incubator. It is not a public directory and should not be being consumed by openstackclient. Change-Id: I011bb95c2c824e2dbc4b822ca922ae77b8d9b955
* Followup for ec2 credentials command fixDean Troyer2014-12-051-0/+12
| | | | | | | | Add functional tests for 'ec2 credentials' commands. Also fix tenant_id in output for create and show. Change-Id: I6ba3249b67408571624709e17f8aa2ac6d80237d
* Fix ec2 credentials commands for new authDean Troyer2014-12-051-5/+5
| | | | | | | | These commands were not updated for the new authentication model. Closes-Bug: 1399757 Change-Id: I5d4beb9d1fa6914fef5e4c7b459cdd967e614b24
* Safely pop project parent idSteve Martinelli2014-12-042-3/+9
| | | | | | | | | Since we don't support multitenancy yet, we should just pop the parent id of a project. When keystoneclient supports mulittenancy we should bring everything in at once (CRUD), and these changes should be removed. Change-Id: I82c7c825502124a24ccdbadf09ecb2748887ca5d
* Add the ability to list projects based on a userSteve Martinelli2014-12-011-2/+22
| | | | | | | Essentially performing GET /users/{user_id}/projects Change-Id: Iae6ddfc86a856fa24fbe293ec4af52ea671390f8 Closes-Bug: #1394793
* Add support for domains when deleting identity v3 resourcesSteve Martinelli2014-12-013-9/+41
| | | | | | | | | | Currently, only deleting via IDs is possible for groups, projects and users. We should have an optional --domain argument that allows for a name to be specified for the resource. (Since these are all namespaced by domains). Change-Id: I18ace3db85a3969f0b97678d432d6f8368baa9cd
* Command object docs: project, role, userDean Troyer2014-12-016-139/+150
| | | | | | | | | project role user user role Change-Id: I445e09a3ffb69114912ae562a9285963a636bfd1
* Merge "Begin copying wiki command list here"Jenkins2014-12-011-1/+1
|\
| * Begin copying wiki command list hereDean Troyer2014-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | * Sort by command objects * Drop the comparison to the project CLIs * Minor updates to command help to match docs Initially include the cross-API commands to establish the structure and format. Change-Id: I77a7b3c89e088b66aa62941e29ce0b65b532285b
* | Merge "Liberalize version matching a bit"Jenkins2014-11-211-4/+6
|\ \ | |/ |/|
| * Liberalize version matching a bitDean Troyer2014-11-161-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For class-loading purposes we can just use the major version, so accept that. Only Identity and Compute were affected; Compute is included just to be pedantically complete. For command groups we also just use the major version so fix Compute and the version option handling. Change the internal default for Identity to a simple '2' so it is also consistent with the rest of the world. Then comes microversioning... Closes-Bug: #1292638 Change-Id: Ibaf823b31caa288a83de38d2c258860b128b87d8
* | Merge "add keystone v3 region object"Jenkins2014-11-191-0/+205
|\ \
| * | add keystone v3 region objectwanghong2014-11-181-0/+205
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Ia6f607630dbf507681733c3ab3b9b7c55de30f49 Closes-Bug: #1387932
* | | Merge "Add --or-show support for v3 identity resources"Jenkins2014-11-185-27/+106
|\ \ \
| * | | Add --or-show support for v3 identity resourcesSteve Martinelli2014-11-185-27/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add --or-show for the following: * v3 roles * v3 projects * v3 domains * v3 users * v3 groups Closes-Bug: #1390389 Change-Id: Id4ef043e5fda6be49a515eb3fe138c813c393ec9
* | | | Merge "Add additional support for --or-show"Jenkins2014-11-182-7/+38
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Add additional support for --or-showSteve Martinelli2014-11-142-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | Add --or-show for the following: * v2 roles * v2 projects Change-Id: Ibbae19cda668575b9527fbd259f1298c48b8265b
* | | Remove links from oauth consumersSteve Martinelli2014-11-131-6/+4
| | | | | | | | | | | | | | | | | | | | | This should be the last of the v3 identity objects that return a links section upon create or show. Change-Id: I45a3b43c303bfed73950095bec8860cbea7a559c
* | | Remove links from federation related commands in identity v3Steve Martinelli2014-11-133-12/+11
|/ / | | | | | | | | | | | | | | | | | | | | We should remove the 'links' portion from the returned object for the following commands: * create/show federation protocol * create/show mapping * create/show identity provider Change-Id: I55654cce1f89de8e532f9acd8092257be33efd85
* | Add --or-show option to user createDean Troyer2014-11-071-7/+23
|/ | | | | | | | | | | | | | | | The --or-show option is added to create commands for the common case of needing to ensure an object exists and getting its properties if it does or creating a new one if it does not exist. Note that if the object exists, any additional options that would set values in a newly created object are ignored if the object exists. FakeResource needs the __name__ attribute to fall through utils.find_resource. Prove the concept on v2 user create then propogate once we're happy with it... Change-Id: I6268566514840c284e6a1d44b409a81d6699ef99
* Unscoped federated user-specific commandsMatthieu Huin2014-10-301-0/+79
| | | | | | | | | | | | A federated user can authenticate with the v3unscopedsaml plugin and list the domains and projects she is allowed to scope to. This patch introduces the new commands 'federation domain list' and 'federation project list'. Note that for these commands -and plugin- to be available, the lxml library must be installed. Change-Id: I2707b624befcfb0a01b40a094e12fd68a3ee7773 Co-Authored-By: Florent Flament <florent.flament-ext@cloudwatt.com>
* Fix token issue after auth changeupDean Troyer2014-10-201-3/+1
| | | | | | | | | | | IssueToken.take_action() was missed in updating the structure of the ClientManager. Also, TOKEN_WITH_TENANT_ID in v3 is just wrong... Closes-Bug: #1383396 Change-Id: If2dd82a26af1d743ee9df73e0c1aebce497bf22e
* Remove ClientManager._service_catalogDean Troyer2014-10-182-21/+6
| | | | | | | | | | Anything that needs a service catalog can get it directly from auth_ref.service_catalog, no need to carry the extra attribute. ClientManager.get_endpoint_for_service_type() reamins the proper method to get an endpoint for clients that still need one directly. Change-Id: I809091c9c71d08f29606d7fd8b500898ff2cb8ae
* Merge "Remove 'links' section from several v3 Identity objects"Jenkins2014-10-139-20/+23
|\
| * Remove 'links' section from several v3 Identity objectsSteve Martinelli2014-10-119-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The links field in the returned objects from the v3 Identity API aren't really useful, so let's remove them. Managed to remove most of them from the core API. I'll likely remove the extension/contribution (oauth/federation) related ones in another patch. Also in this patch the code for setting services and projects was changed. Though not incorrect, it was not needed to copy the entire returned object, we should just need to pass in the fields we want to update. Change-Id: I164ca9ad8b28fa10b291e9115ef40753e387c547
* | Merge "Mark identity v2 resources for translation"Jenkins2014-10-127-60/+64
|\ \
| * | Mark identity v2 resources for translationSteve Martinelli2014-10-097-60/+64
| | | | | | | | | | | | | | | | | | mark v2 catalog, ec2, endpoint, project, role, service and token Change-Id: I14a5852bfee4ca9e25130d001fdadd7778ad0996