import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const sslCertificate = await client.storage.buckets.sslCertificate.create('');console.log(sslCertificate.data);
Uploads an SSL certificate and its matching secret so that you can use Telnyx’s storage as your CDN.
PUT
/
storage
/
buckets
/
{bucketName}
/
ssl_certificate
JavaScript
Copy
Ask AI
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const sslCertificate = await client.storage.buckets.sslCertificate.create('');console.log(sslCertificate.data);