pulumi/tests/integration/packageadd_remote/index.ts

12 lines
287 B
TypeScript

import * as tls from "tls-self-signed-cert";
const cert = new tls.SelfSignedCertificate("mycert", {
subject: {
organization: "Example Org"
},
dnsName: "example.com",
validityPeriodHours: 24,
localValidityPeriodHours: 24,
});
export const certPem = cert.pem;