GET /salt/api/salt_keys/:smart_proxy_id
List all Salt keys

Параметры

Имя параметра Описание
smart_proxy_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.


PUT /salt/api/salt_keys/:smart_proxy_id/:name
Update a Salt Key

Параметры

Имя параметра Описание
name
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

smart_proxy_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

state
обязательно

State can be “accepted” or “rejected”

Validations:

  • Must be String


DELETE /salt/api/salt_keys/:smart_proxy_id/:name
Delete a Salt Key

Параметры

Имя параметра Описание
smart_proxy_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

name
обязательно

FQDN of host that key belongs to

Validations:

  • Must be String