python-openstackclient/doc/source/cli/command-objects/access-rules.rst
Colleen Murphy 70ab3f9dd5 Add support for app cred access rules
This commit introduces the --access-rules option for 'application
credential create' as well as new 'access rule' commands for listing,
showing, and deleting access rules.

bp whitelist-extension-for-app-creds

Change-Id: I04834b2874ec2a70da456a380b5bef03a392effa
2020-01-17 11:14:51 -08:00

1.2 KiB

access rule

Identity v3

Access rules are fine-grained permissions for application credentials. An access rule comprises of a service type, a request path, and a request method. Access rules may only be created as attributes of application credentials, but they may be viewed and deleted independently.

access rule delete

Delete access rule(s)

access rule delete

openstack access rule delete <access-rule> [<access-rule> ...]

<access-rule>

Access rule(s) to delete (ID)

access rule list

List access rules

access rule list

openstack access rule list
    [--user <user>]
    [--user-domain <user-domain>]

--user

User whose access rules to list (name or ID). If not provided, looks up the current user's access rules.

--user-domain

Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.

access rule show

Display access rule details

access rule show

openstack access rule show <access-rule>

<access-rule>

Access rule to display (ID)