Revision 023d7ab0
b/kamaki/cli/commands/astakos.py | ||
---|---|---|
81 | 81 |
"""Authenticate a user |
82 | 82 |
Get user information (e.g. unique account name) from token |
83 | 83 |
Token should be set in settings: |
84 |
* check if a token is set /config get cloud.default.token
|
|
84 |
* check if a token is set /config whoami cloud.default.token
|
|
85 | 85 |
* permanently set a token /config set cloud.default.token <token> |
86 | 86 |
Token can also be provided as a parameter |
87 | 87 |
(In case of another named cloud, use its name instead of default) |
... | ... | |
146 | 146 |
To list authenticated users |
147 | 147 |
/user list |
148 | 148 |
To get the current session user |
149 |
/user get
|
|
149 |
/user whoami
|
|
150 | 150 |
""" |
151 | 151 |
|
152 | 152 |
@errors.generic.all |
Also available in: Unified diff