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