Rotate Minion Key
Rotate a trusted minion's key
Master id, current minion public key (used to resolve the minion to rotate), and new minion public key
{
"currentMinionPublicKey": "string",
"masterId": "string",
"newMinionPublicKey": "string"
}
Minion's current trusted public key in PEM format, used to resolve which minion to rotate
Unique identifier of the Salt Master
Minion's new public key in PEM format
Minion key rotated successfully
{
"acceptedAt": 0,
"createdAt": 0,
"description": "string",
"keyState": "string",
"masterFqdn": "string",
"masterId": "string",
"masterPublicKey": "string",
"minionId": "string",
"minionPublicKey": "string",
"presenceStatus": "string",
"rejectedAt": 0,
"resourceKind": "string",
"updatedAt": 0
}
Epoch millis when the key was accepted, if applicable
Epoch millis when the trust record was created
Human-readable description of the minion
Trust state of a minion's key
Master fully qualified domain name
Unique identifier of the Salt Master
Master public key in Base64 format
Server-generated minion identifier
Minion's public key in PEM format
Presence/reachability status of the Salt master
Epoch millis when the key was rejected, if applicable
The VCF resource kind hosted on this minion (e.g. "vcenter", "sddcm"), read from its vcfops_resource_kind grain; null if the minion hasn't reported this grain yet
Epoch millis when the trust record was last updated
Invalid request, or no trusted minion found for the given current public key
Error while rotating minion key
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"currentMinionPublicKey":"string","masterId":"string","newMinionPublicKey":"string"}' https://{api_host}/suite-api/api/salt/minions/rotate