Actions100
- Billing Actions
- DNS Actions
- Domain Actions
- Domain Forwarding Actions
- Domain WHOIS Actions
- Reach Actions
- VPS Actions
- VPS Actions Actions
- VPS Backups Actions
- VPS Data Centers Actions
- VPS Docker Manager Actions
- VPS Firewall Actions
- VPS Malware Scanner Actions
- VPS Post Install Scripts Actions
- VPS PTR Actions
- VPS Public Keys Actions
- VPS Snapshots Actions
- VPS Templates Actions
VPS Public Keys → Create Public Key
AI-generatedOverview
This node operation allows users to create a new VPS public key in the Hostinger API. It is useful for managing SSH access to virtual private servers by adding new public keys that can be used for secure authentication. For example, a user can create a new SSH public key to enable secure access to their VPS without using passwords.
Use Case Examples
- Creating a new SSH public key for a VPS to enable secure access.
- Automating the addition of public keys to VPS instances for deployment workflows.
Properties
| Name | Meaning |
|---|---|
| Request Body | Raw JSON body for the POST request to create a new VPS public key. This should include the public key details such as the key content and its name. |
Output
JSON
response- The JSON response from the Hostinger API after creating the public key, containing details of the newly created public key.
Dependencies
- Hostinger API authentication credential
Troubleshooting
- Ensure the JSON in the Request Body is correctly formatted and includes all required fields such as the public key content and name.
- Check that the API authentication credentials are correctly configured and have the necessary permissions to create public keys.
- If the API returns an error, verify the endpoint URL and HTTP method are correct for creating a public key.
- Handle API rate limits or network issues that might cause request failures.
Links
- Hostinger API - Create VPS Public Key - Official documentation for creating VPS public keys using the Hostinger API.