| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Enable gating on the Hacking H404 check - docstring
should start with a summary.
Change-Id: I80612a15bd11f689e9e9f4dc2ff812138630ddbd
|
| |
|
|
| |
Change-Id: I0f4fcc9796e8529e7217dc24abe95660633cad33
|
| |
|
|
|
|
|
|
| |
Adding an extra pair of braces helps here to
let Python 3.x interpret it as print function,
while not confusing the Python 2.x print operator.
Change-Id: I05af267ecfbcc80753726743fdf82c330350afcb
|
| |
|
|
|
|
|
|
| |
The original logic for whether shell had enough information to
authenticate a user was confusing and will be very difficult to extend
to other forms of authentication.
Change-Id: I88763a651e494e60070a30f0824505acb09310cb
|
| |
|
|
|
|
| |
Fix bug 1182130
Change-Id: I9823d057aff11e7d90c8098ea31cdbf4d709c39f
|
| |
|
|
|
|
|
|
|
| |
from comments in Ibbc7fab2033d8f037262b465b98d1713579adfc2
v2: synced to the README
manpage will be updated in https://review.openstack.org/#/c/20976
Change-Id: I33006a4b935b9272fd99775936a17b3cfd08e294
|
| |
|
|
|
|
|
|
|
| |
Add a new cli argument (--timeout) which
is by default 600 seconds which will be
set in the requests library so that timeouts
can occur correctly.
Change-Id: I845c55dfb6f6b8345663ccdb5b150a2655f20026
|
| |
|
|
| |
Change-Id: I6ac6f18c4737b19e03a9be07718f8b64d43953c2
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement correct certificate verification
* Add requests to tools/pip-requires
* Fix OS_CACERT env var help text
* Add info to README
* Rework tests to use requests
Pinned requests module to < 1.0 as 1.0.2 is now current in pipi
as of 17Dec2012.
Change-Id: I120d2c12d6f20ebe2fd7182ec8988cc73f623b80
|
| |
|
|
|
|
|
|
| |
modify the value from env[OS_CA_CERT] to env[OS_CACERT] to ensure the help message and codes keep consistent.
Fixes: bug 1086278
Change-Id: I0a502069cd3743f812c8145cbce73cd091e57de6
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some changes to make keystoneclient more backwards compatible
by disabling key caching by default.
This patch renames the CLI option for when to use the
auth token cache to --os-cache and sets it to False by default.
It also changes the ENV variable to OS_CACHE (instead of OS_NO_CACHE).
Change-Id: I6e549feec6ee7500e398a1eceb5bb44cd7d40347
|
| |
|
|
|
|
|
| |
User can optionally turn off keyring by specifying the --no-cache option.
It can also be disabled with environment variable OS-NO-CACHE.
Change-Id: I8935260bf7fd6befa14798da9b4d02c81e65c417
|
| |
|
|
| |
Change-Id: I8c39a797e79429dd21c5caf093b076a4b1757de0
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I9cebbf199e8cf3d9dd7de532b30da9f732a6dab1
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Change-Id: I09894b3fd94d18b192efca8742b09c3ceaad9895
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Provide more verbose help for config options
- Suppress deprecated options from help
- Updated options & docs in README file
Change-Id: Ic0dc2575a15f2cff513c5013266e8f8112e167a2
|
| |\ \ \
| |/ /
|/| /
| |/ |
|
| | |
| |
| |
| | |
Change-Id: Id7c32e3870d5edc00007c26761c59b119e3b530e
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I13988e94d7e20a9179874ec5be072bdb8db3a95e
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
blueprint solidify-python-api
* extended and updated documentation strings
* updated README.rst with latest options
* made debug a pass-through value, optionally set on client (instead of
just being pulled from environment variable)
* adding AccessInfo object and associated tests
(access.AccessInfo meant to be a cacheable object external to client
and ultimately to replace service_catalog and it's existing functionality)
* extending authtoken to support lists of endpoints
* maintaining a single entity for client.management_url with first from
list of possible endpoints
* create project_name and project_id synonyms to match tenant_name and
tenant_id
* replacing authenticate call to a pure method, not overloading the
resource/manager path that confuses base URL concepts.
* throw AuthorizationFailure if client attempts to access keystone
resources before it has a management url
* special case listing tenant using auth_url for unscoped tokens authorized
through client
* special case listing tokens.authenticate for Dashboard to allow unscoped
tokens to hand back parity information to dashboard
Change-Id: I4bb3a1b6a5ce2c4b3fbcebeb59116286cac8b2e3
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| | |
Change-Id: Ic1b3d6baef1fee74cff3bdc92dfe9bccae75a29e
|
| |/
|
|
|
|
|
|
| |
are specified.
Fixes bug 1064835
Change-Id: I77987f01cc1395a4857ebdcb0bb6adf697866dd7
|
| |
|
|
| |
Change-Id: I67ec8cad0f1893113f8041d8bffb9a078a8b9bbe
|
| |
|
|
|
|
| |
as defined in http://wiki.openstack.org/UnifiedCLI/Authentication
Change-Id: I1b5a0ce21040e536d3a9fbc39a2a08b51124880d
|
| |
|
|
| |
Change-Id: Ie0cb579583012cf41ff34946a48b16f132ac2421
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
also some pep8 cleanup in shell.py
Change-Id: I71aa2586a0196c0a6ba64b892b56c9d221bdcc1d
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
* --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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: I84d3897fc056d411fdaaee301465c72e20a66ff8
|
| |
|
|
|
|
|
| |
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 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
|
| |
|
|
| |
Change-Id: If37778e6bb8c34d88974f2dbf22207110a3dea1a
|
| |
|
|
| |
Change-Id: I8bc3582bb3f35a3d841bb1e8c03b62ba61ff92d7
|
| |
|
|
| |
Change-Id: I36849c53e1c63609fc9df7fcd1c245bb3d3a6872
|
| |
|
|
| |
Change-Id: I5afe543ff883358fddfb4c8b546de1d68415e0e3
|
| |
|
|
|
|
|
|
| |
Fixes bug #940023
Backslash continuations removal for python-keystoneclient
Change-Id: I816fc39ced20bb8ba8a42d3f07a03da94a76f8ea
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: If0adfc5283f725c797ee6043fbfc59a775d9b462
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
And add some tests for that case
Rebased after CLI changes merged
Rebased again after more bit rot discovered
Change-Id: I95fa5ab19bff1d5e884b5c3675a123b134866e21
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|