Api Key
Last updated
Last updated
Package : spaceone.api.identity.v1
APIKey Methods:
POST /identity/v1/api-keys
PUT /identity/v1/api-key/{api_key_id}/enable
PUT /identity/v1/api-key/{api_key_id}/disable
PUT /identity/v1/api-key/{api_key_id}/roles
PUT /identity/v1/api-key/{api_key_id}/allowed-hosts
DELETE /identity/v1/api-key/{api_key_id}
GET /identity/v1/api-key/{api_key_id}
GET /identity/v1/api-keys
POST /identity/v1/api-keys/search
POST /identity/v1/api-keys/stat
NO
Method
Request Type
Response Type
Description
1
2
3
4
5
6
7
8
9
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
No
Field
Type
Description
1
api_key_id
string
2
api_key
string
3
state
NONE_STATE
ENABLED
DISABLED
4
user_id
string
APIKeyType api_key_type = 4;
5
domain_id
string
6
allowed_hosts
repeated spaceone.api.identity.v1.RoleInfo roles = 7;
7
last_accessed_at
8
created_at
No
Field
Type
Description
1
api_key_id
string
2
state
NONE_STATE
ENABLED
DISABLED
3
api_key_type
NONE_TYPE
USER
SYSTEM
DELEGATION
DOMAIN
4
user_id
string
5
query
6
domain_id
string
No
Field
Type
Description
1
api_key_id
string
2
domain_id
string
No
Field
Type
Required
Description
1
query
✅
None
2
domain_id
string
✅
None
No
Field
Type
Description
1
results
2
total_count
No
Field
Type
Description
1
name
string
2
cidr
string
No
Field
Type
Description
1
api_key_type
NONE
USER
SYSTEM
DELEGATION
DOMAIN
required
2
user_id
string
required
3
domain_id
string
required
No
Field
Type
Description
1
api_key_id
string
2
domain_id
string
3
only
string
No
Field
Type
Description
1
api_key_id
string
2
allowed_hosts
3
domain_id
string
No
Field
Type
Description
1
api_key_id
string
2
roles
3
domain_id
string