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

Parametry

Nazwa parametru Opis
smart_proxy_id
wymagany

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

Parametry

Nazwa parametru Opis
name
wymagany

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
wymagany

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
wymagany

State can be “accepted” or “rejected”

Validations:

  • Must be String


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

Parametry

Nazwa parametru Opis
smart_proxy_id
wymagany

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
wymagany

FQDN of host that key belongs to

Validations:

  • Must be String