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