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 | ✅ | |
2 | data | ✅ | ||
3 | secret_type |
| ✅ | |
4 | tags | ❌ | ||
5 | schema | string | ❌ | |
6 | service_account_id | string | ❌ | |
7 | project_id | string | ❌ | |
8 | domain_id | string | ✅ |
GetSecretRequest
No | Field | Type | Required | Description |
1 | secret_id | string | ✅ | |
2 | domain_id | string | ✅ | |
3 | only | string | ❌ |
SecretDataInfo
No | Field | Type | Description |
1 | data |
SecretInfo
No | Field | Type | Description |
1 | secret_id | string | |
2 | name | string | |
3 | secret_type |
| |
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 | ❌ | ||
2 | secret_id | string | ❌ | |
3 | name | string | ❌ | |
4 | secret_type |
| ❌ | |
5 | secret_group_id | string | ❌ | |
6 | schema | string | ❌ | |
7 | provider | string | ❌ | |
8 | service_account_id | string | ❌ | |
9 | include_secret_group | bool | ❌ | |
10 | domain_id | string | ✅ |
SecretRequest
No | Field | Type | Required | Description |
1 | secret_id | string | ✅ | |
2 | domain_id | string | ✅ |
SecretStatQuery
No | Field | Type | Required | Description |
1 | query | ✅ | ||
2 | domain_id | string | ✅ |
SecretsInfo
No | Field | Type | Description |
1 | results | ||
2 | total_count |
UpdateSecretRequest
No | Field | Type | Required | Description |
1 | secret_id | string | ✅ | |
2 | name | string | ❌ | |
3 | tags | ❌ | ||
4 | project_id | string | ❌ | |
5 | domain_id | string | ✅ | |
6 | release_project | bool | ❌ |
Last updated