st2 role-assignment get
Get individual assignment
Options
Name | Description |
---|---|
-h, --help | Show this help and exit |
-t, --token <TOKEN> | Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default |
--api-key <API_KEY> | Api Key for user authentication. Get ST2_API_KEY from the environment variables by default |
-j, --json | Print output in JSON format |
-y, --yaml | Print output in YAML format |
-r, --role <ROLE> | Role to filter on |
-u, --user <USER> | User under which to run the action (admins only) |
-s, --source <SOURCE> | Source to filter on |
--remote | Only display remote role assignments |
--attr <ATTR...> | List of attributes to include in the output. 'all' or unspecified will return all attributes |
-w, --width <WIDTH...> | Set the width of the columns in output |