group

group add-user

Usage

usage: -c group add-user [-h]
                      [-f {adaptive_table,json,shell,table,value,yaml}]
                      [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                      [--max-width <integer>] [--noindent]
                      [--prefix PREFIX]
                      group_id user_id

Description

Adds the specified user to the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group attach-aws-policy

Usage

usage: -c group attach-aws-policy [-h]
                               [-f {adaptive_table,json,shell,table,value,yaml}]
                               [-c COLUMN]
                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                               [--max-width <integer>] [--noindent]
                               [--prefix PREFIX]
                               group_id policy_id project_id

Description

Attaches the specified AWS policy to the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group attach-strato-policy

Usage

usage: -c group attach-strato-policy [-h]
                                  [-f {adaptive_table,json,shell,table,value,yaml}]
                                  [-c COLUMN]
                                  [-m [NAME=VALUE [NAME=VALUE ...]]]
                                  [--max-width <integer>] [--noindent]
                                  [--prefix PREFIX]
                                  group_id policy_id project_id

Description

Attaches the specified Strato policy to the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group create

Usage

usage: -c group create [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                    [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                    [--max-width <integer>] [--noindent] [--prefix PREFIX]
                    [--path PATH] [--domain-id DOMAIN_ID]
                    name

Description

Creates a new group.

Return

Returns dict: A structure containing details about the new group

Optional

 optional arguments:
-h, --help            show this help message and exit
--path PATH           The path to the group
--domain-id DOMAIN_ID
                      The domain in which to create the group. If not supplied, creating in current domain

group detach-aws-policy

Usage

usage: -c group detach-aws-policy [-h]
                               [-f {adaptive_table,json,shell,table,value,yaml}]
                               [-c COLUMN]
                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                               [--max-width <integer>] [--noindent]
                               [--prefix PREFIX]
                               group_id policy_id project_id

Description

Removes the specified AWS policy from the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group detach-strato-policy

Usage

usage: -c group detach-strato-policy [-h]
                                  [-f {adaptive_table,json,shell,table,value,yaml}]
                                  [-c COLUMN]
                                  [-m [NAME=VALUE [NAME=VALUE ...]]]
                                  [--max-width <integer>] [--noindent]
                                  [--prefix PREFIX]
                                  group_id policy_id project_id

Description

Removes the specified Strato policy from the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group get

Usage

usage: -c group get [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                 [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                 [--max-width <integer>] [--noindent] [--prefix PREFIX]
                 group_id

Description

Get information of a group.

Return

Returns dict: Information of group

Optional

 optional arguments:
-h, --help            show this help message and exit

group list

Usage

usage: -c group list [-h] [-f {adaptive_table,csv,json,table,value,yaml}]
                  [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                  [--max-width <integer>] [--noindent]
                  [--quote {all,minimal,none,nonnumeric}]
                  [--domain-id DOMAIN_ID] [--name NAME]

Description

List all groups.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--domain-id DOMAIN_ID
                      Filter by a specific domain ID.
                      None means show current domain for tenant-admins, and all domains for system admins
--name NAME           Only list groups with the given name

group list-aws-policies

Usage

usage: -c group list-aws-policies [-h]
                               [-f {adaptive_table,csv,json,table,value,yaml}]
                               [-c COLUMN]
                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                               [--max-width <integer>] [--noindent]
                               [--quote {all,minimal,none,nonnumeric}]
                               group_id project_id

Description

Lists all AWS policies that are attached to the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group list-strato-policies

Usage

usage: -c group list-strato-policies [-h]
                                  [-f {adaptive_table,csv,json,table,value,yaml}]
                                  [-c COLUMN]
                                  [-m [NAME=VALUE [NAME=VALUE ...]]]
                                  [--max-width <integer>] [--noindent]
                                  [--quote {all,minimal,none,nonnumeric}]
                                  group_id project_id

Description

Lists all Strato policies that are attached to the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group list-users

Usage

usage: -c group list-users [-h]
                        [-f {adaptive_table,csv,json,table,value,yaml}]
                        [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                        [--max-width <integer>] [--noindent]
                        [--quote {all,minimal,none,nonnumeric}]
                        group_id

Description

Returns a list of users that are in the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group remove

Usage

usage: -c group remove [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                    [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                    [--max-width <integer>] [--noindent] [--prefix PREFIX]
                    group_id

Description

Deletes the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group remove-user

Usage

usage: -c group remove-user [-h]
                         [-f {adaptive_table,json,shell,table,value,yaml}]
                         [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                         [--max-width <integer>] [--noindent]
                         [--prefix PREFIX]
                         group_id user_id

Description

Removes the specified user from the specified group.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group set-aws-policies

Usage

usage: -c group set-aws-policies [-h]
                              [-f {adaptive_table,json,shell,table,value,yaml}]
                              [-c COLUMN]
                              [-m [NAME=VALUE [NAME=VALUE ...]]]
                              [--max-width <integer>] [--noindent]
                              [--prefix PREFIX]
                              group_id --policy_ids [--policy_ids ...]
                              project_id

Description

Set the group’s AWS policies in the specified project.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group set-strato-policies

Usage

usage: -c group set-strato-policies [-h]
                                 [-f {adaptive_table,json,shell,table,value,yaml}]
                                 [-c COLUMN]
                                 [-m [NAME=VALUE [NAME=VALUE ...]]]
                                 [--max-width <integer>] [--noindent]
                                 [--prefix PREFIX]
                                 group_id --policy_ids [--policy_ids ...]
                                 project_id

Description

Set the group’s Strato policies in the specified project.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

group update

Usage

usage: -c group update [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                    [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                    [--max-width <integer>] [--noindent] [--prefix PREFIX]
                    [--new-name NEW_NAME] [--new-path NEW_PATH]
                    group_id

Description

Updates the name and/or the path of the specified group.

Return

Returns dict: A structure containing details about the group

Optional

 optional arguments:
-h, --help            show this help message and exit
--new-name NEW_NAME   New name for the group. Only include this if changing the group's name
--new-path NEW_PATH   New path for the group. Only include this if changing the group's path