Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources.
constionoscloud=require('@ionos-cloud/sdk-nodejs-cert-manager');// setup authorizationconstconfig=newionoscloud.Configuration({ username:'YOUR_USERNAME', password:'YOUR_PASSWORD', apiKey:'YOUR_API_KEY'});constapi_instance=newionoscloud.InformationApi(config);// Get the Service API Informationapi_instance.getInfo().then((response)=>console.log(response.data)).catch((error)=>console.log(error.response.data));
Returns the information about the API.
Authentication
The username and password or the authentication token can be manually specified when initializing the configuration:
Environment variables can also be used; the SDK uses the following variables:
IONOS_USERNAME - to specify the username used to log in
IONOS_PASSWORD - to specify the password
IONOS_TOKEN - if an authentication token is being used
In this case, the client configuration must be initialized using fromEnv():
Warning: Make sure to follow the Information Security Best Practices when using credentials within your code or storing them in a file.
Feature Reference
The IONOS Cloud SDK for Certificate Manager aims to offer access to all resources in the IONOS Certificate Manager API, and has additional features to make integration easier:
Can I contribute to the NodeJS Certificate Manager SDK?
Our SDKs are automatically generated using OpenAPI Generator and don’t support manual changes. If you require changes, please open an issue, and we will try to address it.