
Now, keystone has supported serverl auth method, like 'totp'. Before we use this method, we should create the credential first. And we need create it with type 'totp'. But now we cannot create credential with this method. Also, I think the type should not have constrains. We can create any type in keystone project. So, we should do these actions too. The type would be more which We cannot control. Change-Id: Ie0482da3133fb515e4bb8e45f8c54f509589cc5e Closes-bug: #1731848
129 lines
2.2 KiB
ReStructuredText
129 lines
2.2 KiB
ReStructuredText
==========
|
|
credential
|
|
==========
|
|
|
|
Identity v3
|
|
|
|
credential create
|
|
-----------------
|
|
|
|
Create new credential
|
|
|
|
.. program:: credential create
|
|
.. code:: bash
|
|
|
|
openstack credential create
|
|
[--type <type>]
|
|
[--project <project>]
|
|
<user> <data>
|
|
|
|
.. option:: --type <type>
|
|
|
|
New credential type: cert, ec2, totp and so on
|
|
|
|
.. option:: --project <project>
|
|
|
|
Project which limits the scope of the credential (name or ID)
|
|
|
|
.. _credential_create:
|
|
.. describe:: <user>
|
|
|
|
User that owns the credential (name or ID)
|
|
|
|
.. describe:: <data>
|
|
|
|
New credential data
|
|
|
|
credential delete
|
|
-----------------
|
|
|
|
Delete credential(s)
|
|
|
|
.. program:: credential delete
|
|
.. code:: bash
|
|
|
|
openstack credential delete
|
|
<credential-id> [<credential-id> ...]
|
|
|
|
.. _credential_delete:
|
|
.. describe:: <credential-id>
|
|
|
|
ID(s) of credential to delete
|
|
|
|
credential list
|
|
---------------
|
|
|
|
List credentials
|
|
|
|
.. program:: credential list
|
|
.. code:: bash
|
|
|
|
openstack credential list
|
|
[--user <user> [--user-domain <user-domain>]]
|
|
[--type <type>]
|
|
|
|
.. option:: --user <user>
|
|
|
|
Filter credentials by <user> (name or ID)
|
|
|
|
.. option:: --user-domain <user-domain>
|
|
|
|
Domain the user belongs to (name or ID). This can be
|
|
used in case collisions between user names exist.
|
|
|
|
.. option:: --type <type>
|
|
|
|
Filter credentials by type: cert, ec2, totp and so on
|
|
|
|
credential set
|
|
--------------
|
|
|
|
Set credential properties
|
|
|
|
.. program:: credential set
|
|
.. code:: bash
|
|
|
|
openstack credential set
|
|
[--user <user>]
|
|
[--type <type>]
|
|
[--data <data>]
|
|
[--project <project>]
|
|
<credential-id>
|
|
|
|
.. option:: --user <user>
|
|
|
|
User that owns the credential (name or ID)
|
|
|
|
.. option:: --type <type>
|
|
|
|
New credential type: cert, ec2, totp and so on.
|
|
|
|
.. option:: --data <data>
|
|
|
|
New credential data
|
|
|
|
.. option:: --project <project>
|
|
|
|
Project which limits the scope of the credential (name or ID)
|
|
|
|
.. _credential_set:
|
|
.. describe:: <credential-id>
|
|
|
|
ID of credential to change
|
|
|
|
credential show
|
|
---------------
|
|
|
|
Display credential details
|
|
|
|
.. program:: credential show
|
|
.. code:: bash
|
|
|
|
openstack credential show
|
|
<credential-id>
|
|
|
|
.. _credential_show:
|
|
.. describe:: <credential-id>
|
|
|
|
ID of credential to display
|