Api Key

Package : spaceone.api.identity.v1

APIKey

APIKey Methods:

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

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

APIKeyQuery

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

APIKeyRequest

No

Field

Type

Description

1

api_key_id

string

2

domain_id

string

APIKeyStatQuery

No

Field

Type

Required

Description

1

query

None

2

domain_id

string

None

APIKeysInfo

No

Field

Type

Description

1

results

2

total_count

Acls

No

Field

Type

Description

1

name

string

2

cidr

string

CreateAPIKeyRequest

No

Field

Type

Description

1

api_key_type

  • NONE

  • USER

  • SYSTEM

  • DELEGATION

  • DOMAIN

required

2

user_id

string

required

3

domain_id

string

required

GetAPIKeyRequest

No

Field

Type

Description

1

api_key_id

string

2

domain_id

string

3

only

list of string

UpdateAPIKeyHostsRequest

No

Field

Type

Description

1

api_key_id

string

2

allowed_hosts

3

domain_id

string

UpdateAPIKeyRoleRequest

No

Field

Type

Description

1

api_key_id

string

2

roles

3

domain_id

string

Last updated