Secret
Package : spaceone.api.secret.v1
Secret
Secret Methods:
NO | Method | Request Type | Response Type | Description |
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 | ||||
7 |
create
POST /secret/v1/secrets
Type | Message |
Request | |
Response |
update
PUT /secret/v1/secret/{secret_id}
Type | Message |
Request | |
Response |
delete
DELETE /secret/v1/secret/{secret_id}
Type | Message |
Request | |
Response |
get_data
GET /secret/v1/secret/{secret_id}/get-data
Type | Message |
Request | |
Response |
get
GET /secret/v1/secret/{secret_id}
Type | Message |
Request | |
Response |
list
GET /secret/v1/secrets
POST /secret/v1/secrets/search
Type | Message |
Request | |
Response |
stat
POST /secret/v1/secrets/stat
Type | Message |
Request | |
Response |
Message
CreateSecretRequest
No | Field | Type | Required | Description |
1 | name | string | required | required |
2 | data | required | required | |
3 | secret_type | SecretType
| required | required |
4 | tags | optional | optional | |
5 | schema | string | optional | optional |
6 | service_account_id | string | optional | optional |
7 | project_id | string | optional | optional |
8 | domain_id | string | required | required |
GetSecretRequest
No | Field | Type | Required | Description |
1 | secret_id | string | required | |
2 | domain_id | string | required | |
3 | only | string | optional |
SecretDataInfo
No | Field | Type | Required | Description |
1 | data |
SecretInfo
No | Field | Type | Required | Description |
1 | secret_id | string | ||
2 | name | string | ||
3 | secret_type | SecretType
| ||
4 | secret_groups | |||
5 | tags | |||
6 | schema | string | ||
7 | provider | string | ||
8 | service_account_id | string | ||
9 | project_id | string | ||
10 | domain_id | string | ||
11 | created_at |
SecretQuery
No | Field | Type | Required | Description |
1 | query | optional | optional | |
2 | secret_id | string | optional | optional |
3 | name | string | optional | optional |
4 | secret_type | SecretType
| optional | optional |
5 | secret_group_id | string | optional | optional |
6 | schema | string | optional | optional |
7 | provider | string | optional | optional |
8 | service_account_id | string | optional | optional |
9 | include_secret_group | bool | optional | optional |
10 | domain_id | string | required | required |
SecretRequest
No | Field | Type | Required | Description |
1 | secret_id | string | required | |
2 | domain_id | string | required |
SecretStatQuery
No | Field | Type | Required | Description |
1 | query | required | ||
2 | domain_id | string | required |
SecretsInfo
No | Field | Type | Required | Description |
1 | results | |||
2 | total_count |
UpdateSecretRequest
No | Field | Type | Required | Description |
1 | secret_id | string | required | |
2 | name | string | optional | |
3 | tags | optional | ||
4 | project_id | string | required | |
5 | domain_id | string | required | |
6 | release_project | bool | optional |
Last updated