mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows creating an SSH key for a user in the mittwald mStudio API. It is useful when you want to programmatically add a new public SSH key to a user's account, enabling secure access or authentication via SSH. Typical use cases include automating user setup processes, managing access keys for multiple users, or integrating with deployment pipelines that require SSH authentication.

Properties

Name Meaning
Expires At (Optional) The expiration date/time of the SSH key. If provided, the key will expire at this time. Format is a string.
Public Key (Required) The actual public SSH key string to be added for the user.

Output

The node outputs JSON data representing the response from the mittwald mStudio API after creating the SSH key. This typically includes details about the newly created SSH key such as its ID, creation timestamp, and any metadata returned by the API. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de and expects JSON content-type headers.
  • No additional external dependencies beyond the configured API credential.

Troubleshooting

  • Missing or invalid Public Key: Since the public key is required, omitting it or providing an invalid format will likely cause an error. Ensure the public key string is correctly formatted (e.g., starts with ssh-rsa or another valid SSH key prefix).
  • Authentication errors: If the API key credential is missing or invalid, the request will fail. Verify that the API key is correctly set up in n8n credentials.
  • Expiration date format issues: If the "Expires At" property is provided, ensure it matches the expected date/time format accepted by the API to avoid validation errors.
  • API connectivity problems: Network issues or incorrect base URL configuration can cause failures. Confirm network access to https://api.mittwald.de.

Links and References

Discussion