summaryrefslogtreecommitdiff
path: root/keystoneclient/shell.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge "splitting http req and resp logging also some pep8 cleanup in shell.py"Jenkins2012-08-231-2/+3
|\
| * splitting http req and resp loggingJoe Heck2012-08-231-2/+3
| | | | | | | | | | | | also some pep8 cleanup in shell.py Change-Id: I71aa2586a0196c0a6ba64b892b56c9d221bdcc1d
* | Change underscores in new cert options to dashesDean Troyer2012-08-221-4/+13
|/ | | | | | | | | | | | * --os_cacert -> --os-cacert * --os_cert -> --os-cert * --os_key -> --os-key * OS_CA_CERT didn't match --os-cacert, change to OS_CACERT Fixes bug 1040162 Change-Id: Ib03ff492b6ab2b76e54974e5436a444725615ea6
* Add '--insecure' commandline argument0.1.2Sascha Peilicke2012-07-201-2/+13
| | | | | | | | | | Allows to ignore validation errors that typically occur with self-signed SSL certificates. Making this explicit is important as one would typically only use this in development or in-house deployments. This should also fix bug 1012591. Change-Id: I1210fafc9257648c902176fbcfae9d47e47fc557
* If no password in env or command line, try promptingKen Thomas2012-07-101-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Implements keystone portion of blueprint prompt-for-password For security reasons, having the password on the command line or in the environment is an issue for us. (See the blueprint for details.) This change will simply make one attempt to prompt for a password if (1) nothing was specified already and (2) there's a tty available for the user to respond on. If we don't get a password, then the existing error will be raised. Remoted getpass from pip-requires, it's in the std lib Tweaked a comment Tweaked error message Don't catch Ctl-C Fix import to match conventions Missed a tweak during the rebase. Added suggested password prompt Change-Id: I54bca2397da7bd366f7ac503e767b109efc093e7
* add keystone bash-completionDominik Heidler2012-07-061-0/+28
| | | | Change-Id: I84d3897fc056d411fdaaee301465c72e20a66ff8
* Support 2-way SSL with Keystone server if it is configured to enforceLiem Nguyen2012-07-031-2/+43
| | | | | | | 2-way SSL. See also https://review.openstack.org/#/c/7706/ for the corresponding review for the 2-way SSL addition to Keystone. Change-Id: If0cb46a43d663687396d93604a7139d85a4e7114
* Change CLI options to use dashesDean Troyer2012-06-281-11/+25
| | | | | | | | | | Change documented options to use dashes instead of underscores in option names. Continue to support old underscore names for backward compatibility for a release or two (TBD). Blueprint: command-options Change-Id: Ied0d325a9fdd32f80bf8c993887e1975aa6adf16
* Drop support for legacy OS args0.1.0Dolph Mathews2012-06-211-30/+0
| | | | Change-Id: If37778e6bb8c34d88974f2dbf22207110a3dea1a
* pep8 1.1 changes and updatesJoe Heck2012-06-011-69/+87
| | | | Change-Id: I8bc3582bb3f35a3d841bb1e8c03b62ba61ff92d7
* Drop support for OS --tenant_id (bug 960977)Dolph Mathews2012-03-291-4/+0
| | | | Change-Id: I36849c53e1c63609fc9df7fcd1c245bb3d3a6872
* Useful messages for missing auth data (bug 946297)Dolph Mathews2012-03-211-28/+40
| | | | Change-Id: I5afe543ff883358fddfb4c8b546de1d68415e0e3
* Backslash continuations (python-keystoneclient)Zhongyue Luo2012-03-171-1/+1
| | | | | | | | Fixes bug #940023 Backslash continuations removal for python-keystoneclient Change-Id: I816fc39ced20bb8ba8a42d3f07a03da94a76f8ea
* Merge "CLI shows help without args (bug 936398)"Jenkins2012-03-161-1/+1
|\
| * CLI shows help without args (bug 936398)Dolph Mathews2012-03-131-1/+1
| | | | | | | | Change-Id: If0adfc5283f725c797ee6043fbfc59a775d9b462
* | Change CLIAuth arg namesDean Troyer2012-03-141-29/+72
|/ | | | | | | | | | | | | | | | | | Change the argument names used for common Keystone authentication per the updated http://wiki.openstack.org/CLIAuth: --auth_url -> --os_auth_url --password -> --os_password --username -> --os_username --tenant_id -> os_tenant_id --tenant_name -> os_tenant_name --region -> os_region_name All old args are depricated but available for backward compatibility. Fixes bug 954532 Change-Id: I26f8e0cf491549f5836c4079ff86e4823c0ef9a7
* Fix --tenant_id corner case with ec2-create-creds commandDean Troyer2012-02-241-2/+2
| | | | | | | | | And add some tests for that case Rebased after CLI changes merged Rebased again after more bit rot discovered Change-Id: I95fa5ab19bff1d5e884b5c3675a123b134866e21
* Merge "Help output tweaks, Vol I"Jenkins2012-02-241-5/+11
|\
| * Help output tweaks, Vol IDean Troyer2012-02-221-5/+11
| | | | | | | | | | | | | | | | | | | | | | Fixes bug 936399 and bug 936424 * Refer to 'Identiy API' rather than 'Keystone API' * 'keystone help' and 'keystone --help' now produce the same output, the list of sub-commands * updates README Change-Id: I179149807a0aa66947e4ac17ad2839a653a55888
* | Improve usability of CLI.jakedahn2012-02-231-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug #936422 * Fixes bug #932223 * Depends on bcwaldon's review: https://review.openstack.org/#change,4305 * This review proposes making changes outlined in this spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0Ak6TA47h_6fwdGZwRE5WWEJBdEhnckpMTG5RcWFjY3c#gid=0 This cleans up the CLI, normalizing commands and arguments, correcting optional and required arguments and flags. * included https://review.openstack.org/4270 here per Brian's request Note that some commands have changed names to conform to noun-verb form: user-update-password -> user-password-update add-user-role -> user-role-add remove-user-role -> user-role-remove ec2-create-credentials -> ec2-credentials-create ec2-list-credentials -> ec2-credentials-list ec2-delete-credentials -> ec2-credentials-delete token -> token-get Change-Id: I8128fa105a1b8002199211f9e475b1a7a6229b8c
* | Move --version to --identity_api_versionBrian Waldon2012-02-211-7/+19
|/ | | | | | | | * Default to OS_IDENTITY_API_VERSION before KEYSTONE_VERSION * Copy in 'env' function from python-novaclient hat supports multiple env var names * Fixes bug 936162 Change-Id: I3b4013408465ea45788517cb31afb7fc652e6e95
* Remove internal '-' from flag namesDean Troyer2012-02-201-1/+1
| | | | | | | | Fixes bug 936400 * global --auth-url becomes --auth_url * user-create --default-tenant becomes --tenant_id Change-Id: I483bb369556f4da2a6de61a39d00a7adbe1cf12e
* Allow --token and --endpoint to bypass catalogVishvananda Ishaya2012-02-081-13/+26
| | | | | | | | * allows skipping of service catalog * removes odd logic about password equivalence * also removes extra call to authenticate Change-Id: I5c0979107da99593b4ce8eb16c9695ba530da095
* Blueprint cli-auth: common cli argsDean Troyer2012-02-021-28/+28
| | | | | | | | | | | | Remove os_ from internal variable names corresponding to OS_ env variables. Strip trailing '/' from --auth_url since server doesn't seem to tolerate '//' in the URL path. Fixes lp923920 Change-Id: I3e48441d63b6504fd088aa07241f66d63590d935
* Support for version and extension discoveryessex-3Ziad Sawalha2012-01-201-20/+27
| | | | | | | | | | | | | | | | | | | | | | | - Supports unauthenticated call to Keystone to discover supported API versions - Added command-line support (usage: keystone discover) - Added client support (keystoneclient.genenric client). Client returns dicts, whereas shell command prints formated output. - Added tests for genenric client - Replicates 'nove discover' in python-novaclient - Starts to address blueprint keystone-client - keystone discover output looks like this: $ keystone discover Keystone found at http://localhost:35357 - supports version v1.0 (DEPRECATED) here http://localhost:35357/v1.0 - supports version v1.1 (CURRENT) here http://localhost:35357/v1.1 - supports version v2.0 (BETA) here http://localhost:35357/v2.0 - and HP-IDM: HP Token Validation Extension - and OS-KSADM: Openstack Keystone Admin - and OS-KSCATALOG: Openstack Keystone Catalog Change-Id: Id16d34dac094c780d36afb3e31c98c318b6071ac
* Implementing a minimal, but useful CLI.jakedahn2012-01-181-20/+21
| | | | Change-Id: I8181cc2395ae1aad6a324ec65395ebc62455f29b
* pep8Jesse Andrews2011-12-181-5/+5
|
* more work on standardization of cliauthJesse Andrews2011-12-171-7/+7
|
* remove user_id as you shouldn't auth using itJesse Andrews2011-12-171-9/+3
|
* initial pass to cliauth blueprintJesse Andrews2011-12-171-39/+39
|
* more pep8 cleanupJoe Heck2011-11-101-4/+5
|
* Initial commit.Gabriel Hurley2011-10-251-0/+228