Api Key

Package : spaceone.api.identity.v1

APIKey

APIKey Methods:

create

POST /identity/v1/api-keys

Type

Message

Response

enable

PUT /identity/v1/api-key/{api_key_id}/enable

Type

Message

Response

disable

PUT /identity/v1/api-key/{api_key_id}/disable

Type

Message

Response

update_role

PUT /identity/v1/api-key/{api_key_id}/roles

Type

Message

Response

update_allowed_hosts

PUT /identity/v1/api-key/{api_key_id}/allowed-hosts

Type

Message

Response

delete

DELETE /identity/v1/api-key/{api_key_id}

Type

Message

get

GET /identity/v1/api-key/{api_key_id}

Type

Message

Response

list

GET /identity/v1/api-keys

POST /identity/v1/api-keys/search

Type

Message

Response

stat

POST /identity/v1/api-keys/stat

Type

Message

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

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

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

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

3

domain_id

string

Last updated