KeylessCertificate

class KeylessCertificate : KotlinCustomResource

Provides a resource, that manages Keyless certificates.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const example = new cloudflare.KeylessCertificate("example", {
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
bundleMethod: "ubiquitous",
name: "example.com Keyless SSL",
host: "example.com",
port: 24008,
enabled: true,
certificate: "-----INSERT CERTIFICATE-----",
});
import pulumi
import pulumi_cloudflare as cloudflare
example = cloudflare.KeylessCertificate("example",
zone_id="0da42c8d2132a9ddaf714f9e7c920711",
bundle_method="ubiquitous",
name="example.com Keyless SSL",
host="example.com",
port=24008,
enabled=True,
certificate="-----INSERT CERTIFICATE-----")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var example = new Cloudflare.KeylessCertificate("example", new()
{
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
BundleMethod = "ubiquitous",
Name = "example.com Keyless SSL",
Host = "example.com",
Port = 24008,
Enabled = true,
Certificate = "-----INSERT CERTIFICATE-----",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewKeylessCertificate(ctx, "example", &cloudflare.KeylessCertificateArgs{
ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
BundleMethod: pulumi.String("ubiquitous"),
Name: pulumi.String("example.com Keyless SSL"),
Host: pulumi.String("example.com"),
Port: pulumi.Int(24008),
Enabled: pulumi.Bool(true),
Certificate: pulumi.String("-----INSERT CERTIFICATE-----"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.KeylessCertificate;
import com.pulumi.cloudflare.KeylessCertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new KeylessCertificate("example", KeylessCertificateArgs.builder()
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.bundleMethod("ubiquitous")
.name("example.com Keyless SSL")
.host("example.com")
.port(24008)
.enabled(true)
.certificate("-----INSERT CERTIFICATE-----")
.build());
}
}
resources:
example:
type: cloudflare:KeylessCertificate
properties:
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
bundleMethod: ubiquitous
name: example.com Keyless SSL
host: example.com
port: 24008
enabled: true
certificate: '-----INSERT CERTIFICATE-----'

Import

$ pulumi import cloudflare:index/keylessCertificate:KeylessCertificate example <zone_id>/<keyless_certificate_id>

Properties

Link copied to clipboard
val bundleMethod: Output<String>?

A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: ubiquitous, optimal, force. Defaults to ubiquitous. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val certificate: Output<String>

The zone's SSL certificate or SSL certificate and intermediate(s). Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val enabled: Output<Boolean>?

Whether the KeyLess SSL is on.

Link copied to clipboard
val host: Output<String>

The KeyLess SSL host.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>?

The KeyLess SSL name.

Link copied to clipboard
val port: Output<Int>?

The KeyLess SSL port used to communicate between Cloudflare and the client's KeyLess SSL server. Defaults to 24008.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

Status of the KeyLess SSL.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>

The zone identifier to target for the resource.