
A follow up work item from I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f to support domain scoped users and projects for ec2creds in the v3 identity api. Related-Bug: 1236326 Change-Id: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275
140 lines
3.2 KiB
ReStructuredText
140 lines
3.2 KiB
ReStructuredText
===============
|
|
ec2 credentials
|
|
===============
|
|
|
|
Identity v2
|
|
|
|
ec2 credentials create
|
|
----------------------
|
|
|
|
Create EC2 credentials
|
|
|
|
.. program:: ec2 credentials create
|
|
.. code-block:: bash
|
|
|
|
os ec2 credentials create
|
|
[--project <project>]
|
|
[--user <user>]
|
|
[--user-domain <user-domain>]
|
|
[--project-domain <project-domain>]
|
|
|
|
.. option:: --project <project>
|
|
|
|
Specify an alternate project (default: current authenticated project)
|
|
|
|
.. option:: --user <user>
|
|
|
|
Specify an alternate user (default: current authenticated user)
|
|
|
|
.. option:: --user-domain <user-domain>
|
|
|
|
Domain the user belongs to (name or ID).
|
|
This can be used in case collisions between user names exist.
|
|
|
|
.. versionadded:: 3
|
|
|
|
.. option:: --project-domain <project-domain>
|
|
|
|
Domain the project belongs to (name or ID).
|
|
This can be used in case collisions between project names exist.
|
|
|
|
.. versionadded:: 3
|
|
|
|
|
|
The :option:`--project` and :option:`--user` options are typically only
|
|
useful for admin users, but may be allowed for other users depending on
|
|
the policy of the cloud and the roles granted to the user.
|
|
|
|
ec2 credentials delete
|
|
----------------------
|
|
|
|
Delete EC2 credentials
|
|
|
|
.. program:: ec2 credentials delete
|
|
.. code-block:: bash
|
|
|
|
os ec2 credentials delete
|
|
[--user <user>]
|
|
[--user-domain <user-domain>]
|
|
<access-key>
|
|
|
|
.. option:: --user <user>
|
|
|
|
Specify a user
|
|
|
|
.. option:: --user-domain <user-domain>
|
|
|
|
Domain the user belongs to (name or ID).
|
|
This can be used in case collisions between user names exist.
|
|
|
|
.. versionadded:: 3
|
|
|
|
.. _ec2_credentials_delete-access-key:
|
|
.. describe:: access-key
|
|
|
|
Credentials access key
|
|
|
|
The :option:`--user` option is typically only useful for admin users, but
|
|
may be allowed for other users depending on the policy of the cloud and
|
|
the roles granted to the user.
|
|
|
|
ec2 credentials list
|
|
--------------------
|
|
|
|
List EC2 credentials
|
|
|
|
.. program:: ec2 credentials list
|
|
.. code-block:: bash
|
|
|
|
os ec2 credentials list
|
|
[--user <user>]
|
|
[--user-domain <user-domain>]
|
|
|
|
.. option:: --user <user>
|
|
|
|
Filter list by <user>
|
|
|
|
.. option:: --user-domain <user-domain>
|
|
|
|
Domain the user belongs to (name or ID).
|
|
This can be used in case collisions between user names exist.
|
|
|
|
.. versionadded:: 3
|
|
|
|
The :option:`--user` option is typically only useful for admin users, but
|
|
may be allowed for other users depending on the policy of the cloud and
|
|
the roles granted to the user.
|
|
|
|
ec2 credentials show
|
|
--------------------
|
|
|
|
Display EC2 credentials details
|
|
|
|
.. program:: ec2 credentials show
|
|
.. code-block:: bash
|
|
|
|
os ec2 credentials show
|
|
[--user <user>]
|
|
[--user-domain <user-domain>]
|
|
<access-key>
|
|
|
|
.. option:: --user <user>
|
|
|
|
Specify a user
|
|
|
|
.. option:: --user-domain <user-domain>
|
|
|
|
Domain the user belongs to (name or ID).
|
|
This can be used in case collisions between user names exist.
|
|
|
|
.. versionadded:: 3
|
|
|
|
.. _ec2_credentials_show-access-key:
|
|
.. describe:: access-key
|
|
|
|
Credentials access key
|
|
|
|
The :option:`--user` option is typically only useful for admin users, but
|
|
may be allowed for other users depending on the policy of the cloud and
|
|
the roles granted to the user.
|