This is the multi-page printable view of this section. Click here to print.
Query policy list
1 - 1.4
scp-cli iam policy query
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--policy_name <value>]
[--policy_type <value>]
[--service_type <value>]
[--creator_name <value>]
[--creator_email <value>]
[--modifier_name <value>]
[--modifier_email <value>]
[--exclude_group_id <value>]
[--exclude_user_id <value>]
[--excluded_policy_ids <value>]
Description
Query policy list
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.4 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Policy ID | 37f2e31ff86b415698d7e8eeafab445d |
| policy_name optional | string | Policy Name | ViewerAccess |
| policy_type optional | string | Policy Type | SYSTEM_MANAGED |
| service_type optional | string | Service Type | scp-iam |
| creator_name optional | string | Creator Last Name, First Name | test1 |
| creator_email optional | string | Creator Email | test@test.com |
| modifier_name optional | string | Modifier Last Name, First Name | test1 |
| modifier_email optional | string | Modifier Email | test@test.com |
| exclude_group_id optional | string | Group ID to Exclude | a946662dc4314dac93da413a32457459 |
| exclude_user_id optional | string | User ID to Exclude | - |
| excluded_policy_ids optional | array | Policy IDs to Exclude | 37f2e31ff86b415698d7e8eeafab445d |
Responses
| Name | Description | Example |
|---|---|---|
| count | count | 20 |
| page | page | 0 |
| policies | [] | |
| size | size | 20 |
| sort | sort | [‘created_at:asc’] |
2 - 1.3
scp-cli iam policy query
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--policy_name <value>]
[--policy_type <value>]
[--service_type <value>]
[--creator_name <value>]
[--creator_email <value>]
[--modifier_name <value>]
[--modifier_email <value>]
[--exclude_group_id <value>]
[--exclude_user_id <value>]
[--excluded_policy_ids <value>]
Description
Query policy list
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.3 | 20261130 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Policy ID | 37f2e31ff86b415698d7e8eeafab445d |
| policy_name optional | string | Policy Name | ViewerAccess |
| policy_type optional | string | Policy Type | SYSTEM_MANAGED |
| service_type optional | string | Service Type | scp-iam |
| creator_name optional | string | Creator Last Name, First Name | test1 |
| creator_email optional | string | Creator Email | test@test.com |
| modifier_name optional | string | Modifier Last Name, First Name | test1 |
| modifier_email optional | string | Modifier Email | test@test.com |
| exclude_group_id optional | string | Group ID to Exclude | a946662dc4314dac93da413a32457459 |
| exclude_user_id optional | string | User ID to Exclude | - |
| excluded_policy_ids optional | array | Policy IDs to Exclude | 37f2e31ff86b415698d7e8eeafab445d |
Responses
| Name | Description | Example |
|---|---|---|
| count | count | 20 |
| page | page | 0 |
| policies | [] | |
| size | size | 20 |
| sort | sort | [‘created_at:asc’] |
3 - 1.2
scp-cli iam policy query
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--policy_name <value>]
[--policy_type <value>]
[--service_type <value>]
[--creator_name <value>]
[--creator_email <value>]
[--modifier_name <value>]
[--modifier_email <value>]
[--exclude_group_id <value>]
[--exclude_user_id <value>]
[--excluded_policy_ids <value>]
Description
Query policy list
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.2 | 20260930 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Policy ID | 37f2e31ff86b415698d7e8eeafab445d |
| policy_name optional | string | Policy Name | ViewerAccess |
| policy_type optional | string | Policy Type | SYSTEM_MANAGED |
| service_type optional | string | Service Type | scp-iam |
| creator_name optional | string | Creator Last Name, First Name | test1 |
| creator_email optional | string | Creator Email | test@test.com |
| modifier_name optional | string | Modifier Last Name, First Name | test1 |
| modifier_email optional | string | Modifier Email | test@test.com |
| exclude_group_id optional | string | Group ID to Exclude | a946662dc4314dac93da413a32457459 |
| exclude_user_id optional | string | User ID to Exclude | - |
| excluded_policy_ids optional | array | Policy IDs to Exclude | 37f2e31ff86b415698d7e8eeafab445d |
Responses
| Name | Description | Example |
|---|---|---|
| count | count | 20 |
| page | page | 0 |
| policies | [] | |
| size | size | 20 |
| sort | sort | [‘created_at:asc’] |
4 - 1.1
scp-cli iam policy query
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--policy_name <value>]
[--policy_type <value>]
[--service_type <value>]
[--creator_name <value>]
[--creator_email <value>]
[--modifier_name <value>]
[--modifier_email <value>]
[--exclude_group_id <value>]
[--exclude_user_id <value>]
[--excluded_policy_ids <value>]
Description
Query policy list
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.1 | 20260531 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Policy ID | 37f2e31ff86b415698d7e8eeafab445d |
| policy_name optional | string | Policy Name | ViewerAccess |
| policy_type optional | string | Policy Type | SYSTEM_MANAGED |
| service_type optional | string | Service Type | scp-iam |
| creator_name optional | string | Creator Last Name, First Name | test1 |
| creator_email optional | string | Creator Email | test@test.com |
| modifier_name optional | string | Modifier Last Name, First Name | test1 |
| modifier_email optional | string | Modifier Email | test@test.com |
| exclude_group_id optional | string | Group ID to Exclude | a946662dc4314dac93da413a32457459 |
| exclude_user_id optional | string | User ID to Exclude | - |
| excluded_policy_ids optional | array | Policy IDs to Exclude | 37f2e31ff86b415698d7e8eeafab445d |
Responses
| Name | Description | Example |
|---|---|---|
| count | count | 20 |
| page | page | 0 |
| policies | [] | |
| size | size | 20 |
| sort | sort | [‘created_at:asc’] |
5 - 1.0
scp-cli iam policy query
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--policy_name <value>]
[--policy_type <value>]
[--service_type <value>]
[--creator_name <value>]
[--creator_email <value>]
[--modifier_name <value>]
[--modifier_email <value>]
[--exclude_group_id <value>]
[--exclude_user_id <value>]
[--excluded_policy_ids <value>]
Description
Query policy list
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Policy ID | 37f2e31ff86b415698d7e8eeafab445d |
| policy_name optional | string | Policy Name | ViewerAccess |
| policy_type optional | string | Policy Type | SYSTEM_MANAGED |
| service_type optional | string | Service Type | scp-iam |
| creator_name optional | string | Creator Last Name, First Name | test1 |
| creator_email optional | string | Creator Email | test@test.com |
| modifier_name optional | string | Modifier Last Name, First Name | test1 |
| modifier_email optional | string | Modifier Email | test@test.com |
| exclude_group_id optional | string | Group ID to Exclude | a946662dc4314dac93da413a32457459 |
| exclude_user_id optional | string | User ID to Exclude | - |
| excluded_policy_ids optional | array | Policy IDs to Exclude | 37f2e31ff86b415698d7e8eeafab445d |
Responses
| Name | Description | Example |
|---|---|---|
| count | count | 20 |
| page | page | 0 |
| policies | [] | |
| size | size | 20 |
| sort | sort | [‘created_at:asc’] |