KeylessCertificateArgs

data class KeylessCertificateArgs(val bundleMethod: Output<String>? = null, val certificate: Output<String>? = null, val enabled: Output<Boolean>? = null, val host: Output<String>? = null, val name: Output<String>? = null, val port: Output<Int>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<KeylessCertificateArgs>

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>

Constructors

Link copied to clipboard
constructor(bundleMethod: Output<String>? = null, certificate: Output<String>? = null, enabled: Output<Boolean>? = null, host: Output<String>? = null, name: Output<String>? = null, port: Output<Int>? = null, zoneId: Output<String>? = null)

Properties

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

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>? = null

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>? = null

Whether the KeyLess SSL is on.

Link copied to clipboard
val host: Output<String>? = null

The KeyLess SSL host.

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

The KeyLess SSL name.

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

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

Link copied to clipboard
val zoneId: Output<String>? = null

The zone identifier to target for the resource.

Functions

Link copied to clipboard
open override fun toJava(): KeylessCertificateArgs