UNPKG

n8n-nodes-ionos

Version:

n8n nodes for IONOS DNS, Domain, SSL/Certificate management, Cloud AI, Cloud Infrastructure, Container Registry, Database as a Service, CDN, VPN Gateway, Activity Log, Billing, Logging, Monitoring, Object Storage Management, Network File Storage, Identity

37 lines (36 loc) 1.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IonosCloud = void 0; class IonosCloud { name = 'ionosCloud'; displayName = 'IONOS Cloud'; documentationUrl = 'https://docs.ionos.com/cloud/getting-started/authentication'; properties = [ { displayName: 'API Token', name: 'apiToken', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'JWT token for IONOS Cloud APIs. Generate tokens via the Auth API or Token Manager in DCD.', placeholder: 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...', }, ]; authenticate = { type: 'generic', properties: { headers: { Authorization: '={{ "Bearer " + $credentials.apiToken }}', }, }, }; test = { request: { baseURL: 'https://api.ionos.com', url: '/cloudapi/v6/datacenters', method: 'GET', }, }; } exports.IonosCloud = IonosCloud;