saltkey

Description

Provides methods to manage salt keys

Namespace:

saltkey

Method: accept

HTTP POST

Description:

Accept a minion key

Parameters:

  • string sessionKey

  • string minionId

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: acceptedList

HTTP GET

Description:

List accepted salt keys

Parameters:

  • string sessionKey

Returns:

  • string array Accepted salt key list

Method: delete

HTTP POST

Description:

Delete a minion key

Parameters:

  • string sessionKey

  • string minionId

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: deniedList

HTTP GET

Description:

List of denied salt keys

Parameters:

  • string sessionKey

Returns:

  • string array Denied salt key list

Method: pendingList

HTTP GET

Description:

List pending salt keys

Parameters:

  • string sessionKey

Returns:

  • string array Pending salt key list

Method: reject

HTTP POST

Description:

Reject a minion key

Parameters:

  • string sessionKey

  • string minionId

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: rejectedList

HTTP GET

Description:

List of rejected salt keys

Parameters:

  • string sessionKey

Returns:

  • string array Rejected salt key list