Deploy an SSH key to a host
POST/plugin-api/credential-tools/credentials/:id/deploy-to-host
Adds the public key of a saved key credential to the authorized keys of one of your hosts, over SSH. You need to be allowed to view credentials and edit hosts. Every deploy is written to the audit log.
Request
Responses
- 200
- 400
- 403
- 404
- 500
SSH key deployed.
Missing ids or the credential is not a usable key.
Not allowed.
Credential or target host not found.
Failed to deploy the SSH key.