cloudflare.KeylessCertificate
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
exampleKeylessCertificate:
type: cloudflare:KeylessCertificate
name: example_keyless_certificate
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
certificate: '-----BEGIN CERTIFICATE----- MIIDtTCCAp2gAwIBAgIJAM15n7fdxhRtMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV BAYTAlVTMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX aWRnaXRzIFB0eSBMdGQwHhcNMTQwMzExMTkyMTU5WhcNMTQwNDEwMTkyMTU5WjBF MQswCQYDVQQGEwJVUzETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50 ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB CgKCAQEAvq3sKsHpeduJHimOK+fvQdKsI8z8A05MZyyLp2/R/GE8FjNv+hkVY1WQ LIyTNNQH7CJecE1nbTfo8Y56S7x/rhxC6/DJ8MIulapFPnorq46KU6yRxiM0MQ3N nTJHlHA2ozZta6YBBfVfhHWl1F0IfNbXCLKvGwWWMbCx43OfW6KTkbRnE6gFWKuO fSO5h2u5TaWVuSIzBvYs7Vza6m+gtYAvKAJV2nSZ+eSEFPDo29corOy8+huEOUL8 5FAw4BFPsr1TlrlGPFitduQUHGrSL7skk1ESGza0to3bOtrodKei2s9bk5MXm7lZ qI+WZJX4Zu9+mzZhc9pCVi8r/qlXuQIDAQABo4GnMIGkMB0GA1UdDgQWBBRvavf+ sWM4IwKiH9X9w1vl6nUVRDB1BgNVHSMEbjBsgBRvavf+sWM4IwKiH9X9w1vl6nUV RKFJpEcwRTELMAkGA1UEBhMCVVMxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV BAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAM15n7fdxhRtMAwGA1UdEwQF MAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABY2ZzBaW0dMsAAT7tPJzrVWVzQx6KU4 UEBLudIlWPlkAwTnINCWR/8eNjCCmGA4heUdHmazdpPa8RzwOmc0NT1NQqzSyktt vTqb4iHD7+8f9MqJ9/FssCfTtqr/Qst/hGH4Wmdf1EJ/6FqYAAb5iRlPgshFZxU8 uXtA8hWn6fK6eISD9HBdcAFToUvKNZ1BIDPvh9f95Ine8ar6yGd56TUNrHR8eHBs ESxz5ddVR/oWRysNJ+aGAyYqHS8S/ttmC7r4XCAHqXptkHPCGRqkAhsterYhd4I8 /cBzejUobNCjjHFbtkAL/SjxZOLW+pNkZwfeYdM8iPkD54Uua1v2tdw= -----END CERTIFICATE-----'
host: example.com
port: 24008
bundleMethod: ubiquitous
name: example.com Keyless SSL
tunnel:
private_ip: 10.0.0.1
vnet_id: 7365377a-85a4-4390-9480-531ef7dc7a3c
Create KeylessCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KeylessCertificate(name: string, args: KeylessCertificateArgs, opts?: CustomResourceOptions);
@overload
def KeylessCertificate(resource_name: str,
args: KeylessCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KeylessCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
host: Optional[str] = None,
zone_id: Optional[str] = None,
bundle_method: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
port: Optional[float] = None,
tunnel: Optional[KeylessCertificateTunnelArgs] = None)
func NewKeylessCertificate(ctx *Context, name string, args KeylessCertificateArgs, opts ...ResourceOption) (*KeylessCertificate, error)
public KeylessCertificate(string name, KeylessCertificateArgs args, CustomResourceOptions? opts = null)
public KeylessCertificate(String name, KeylessCertificateArgs args)
public KeylessCertificate(String name, KeylessCertificateArgs args, CustomResourceOptions options)
type: cloudflare:KeylessCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KeylessCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KeylessCertificateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KeylessCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KeylessCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KeylessCertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var keylessCertificateResource = new Cloudflare.KeylessCertificate("keylessCertificateResource", new()
{
Certificate = "string",
Host = "string",
ZoneId = "string",
BundleMethod = "string",
Name = "string",
Port = 0,
Tunnel = new Cloudflare.Inputs.KeylessCertificateTunnelArgs
{
PrivateIp = "string",
VnetId = "string",
},
});
example, err := cloudflare.NewKeylessCertificate(ctx, "keylessCertificateResource", &cloudflare.KeylessCertificateArgs{
Certificate: pulumi.String("string"),
Host: pulumi.String("string"),
ZoneId: pulumi.String("string"),
BundleMethod: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.Float64(0),
Tunnel: &cloudflare.KeylessCertificateTunnelArgs{
PrivateIp: pulumi.String("string"),
VnetId: pulumi.String("string"),
},
})
var keylessCertificateResource = new KeylessCertificate("keylessCertificateResource", KeylessCertificateArgs.builder()
.certificate("string")
.host("string")
.zoneId("string")
.bundleMethod("string")
.name("string")
.port(0)
.tunnel(KeylessCertificateTunnelArgs.builder()
.privateIp("string")
.vnetId("string")
.build())
.build());
keyless_certificate_resource = cloudflare.KeylessCertificate("keylessCertificateResource",
certificate="string",
host="string",
zone_id="string",
bundle_method="string",
name="string",
port=0,
tunnel={
"private_ip": "string",
"vnet_id": "string",
})
const keylessCertificateResource = new cloudflare.KeylessCertificate("keylessCertificateResource", {
certificate: "string",
host: "string",
zoneId: "string",
bundleMethod: "string",
name: "string",
port: 0,
tunnel: {
privateIp: "string",
vnetId: "string",
},
});
type: cloudflare:KeylessCertificate
properties:
bundleMethod: string
certificate: string
host: string
name: string
port: 0
tunnel:
privateIp: string
vnetId: string
zoneId: string
KeylessCertificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KeylessCertificate resource accepts the following input properties:
- Certificate string
- The zone's SSL certificate or SSL certificate and intermediate(s).
- Host string
- The keyless SSL name.
- Zone
Id string - Identifier
- Bundle
Method 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".
- Enabled bool
- Whether or not the Keyless SSL is on or off.
- Name string
- The keyless SSL name.
- Port double
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- Tunnel
Keyless
Certificate Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- Certificate string
- The zone's SSL certificate or SSL certificate and intermediate(s).
- Host string
- The keyless SSL name.
- Zone
Id string - Identifier
- Bundle
Method 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".
- Enabled bool
- Whether or not the Keyless SSL is on or off.
- Name string
- The keyless SSL name.
- Port float64
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- Tunnel
Keyless
Certificate Tunnel Args - Configuration for using Keyless SSL through a Cloudflare Tunnel
- certificate String
- The zone's SSL certificate or SSL certificate and intermediate(s).
- host String
- The keyless SSL name.
- zone
Id String - Identifier
- bundle
Method 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".
- enabled Boolean
- Whether or not the Keyless SSL is on or off.
- name String
- The keyless SSL name.
- port Double
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- tunnel
Keyless
Certificate Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- certificate string
- The zone's SSL certificate or SSL certificate and intermediate(s).
- host string
- The keyless SSL name.
- zone
Id string - Identifier
- bundle
Method 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".
- enabled boolean
- Whether or not the Keyless SSL is on or off.
- name string
- The keyless SSL name.
- port number
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- tunnel
Keyless
Certificate Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- certificate str
- The zone's SSL certificate or SSL certificate and intermediate(s).
- host str
- The keyless SSL name.
- zone_
id str - Identifier
- bundle_
method str - 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".
- enabled bool
- Whether or not the Keyless SSL is on or off.
- name str
- The keyless SSL name.
- port float
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- tunnel
Keyless
Certificate Tunnel Args - Configuration for using Keyless SSL through a Cloudflare Tunnel
- certificate String
- The zone's SSL certificate or SSL certificate and intermediate(s).
- host String
- The keyless SSL name.
- zone
Id String - Identifier
- bundle
Method 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".
- enabled Boolean
- Whether or not the Keyless SSL is on or off.
- name String
- The keyless SSL name.
- port Number
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- tunnel Property Map
- Configuration for using Keyless SSL through a Cloudflare Tunnel
Outputs
All input properties are implicitly available as output properties. Additionally, the KeylessCertificate resource produces the following output properties:
- Created
On string - When the Keyless SSL was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - When the Keyless SSL was last modified.
- Permissions List<string>
- Available permissions for the Keyless SSL for the current user requesting the item.
- Status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- Created
On string - When the Keyless SSL was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - When the Keyless SSL was last modified.
- Permissions []string
- Available permissions for the Keyless SSL for the current user requesting the item.
- Status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- created
On String - When the Keyless SSL was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - When the Keyless SSL was last modified.
- permissions List<String>
- Available permissions for the Keyless SSL for the current user requesting the item.
- status String
- Status of the Keyless SSL. Available values: "active", "deleted".
- created
On string - When the Keyless SSL was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
On string - When the Keyless SSL was last modified.
- permissions string[]
- Available permissions for the Keyless SSL for the current user requesting the item.
- status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- created_
on str - When the Keyless SSL was created.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
on str - When the Keyless SSL was last modified.
- permissions Sequence[str]
- Available permissions for the Keyless SSL for the current user requesting the item.
- status str
- Status of the Keyless SSL. Available values: "active", "deleted".
- created
On String - When the Keyless SSL was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - When the Keyless SSL was last modified.
- permissions List<String>
- Available permissions for the Keyless SSL for the current user requesting the item.
- status String
- Status of the Keyless SSL. Available values: "active", "deleted".
Look up Existing KeylessCertificate Resource
Get an existing KeylessCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KeylessCertificateState, opts?: CustomResourceOptions): KeylessCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bundle_method: Optional[str] = None,
certificate: Optional[str] = None,
created_on: Optional[str] = None,
enabled: Optional[bool] = None,
host: Optional[str] = None,
modified_on: Optional[str] = None,
name: Optional[str] = None,
permissions: Optional[Sequence[str]] = None,
port: Optional[float] = None,
status: Optional[str] = None,
tunnel: Optional[KeylessCertificateTunnelArgs] = None,
zone_id: Optional[str] = None) -> KeylessCertificate
func GetKeylessCertificate(ctx *Context, name string, id IDInput, state *KeylessCertificateState, opts ...ResourceOption) (*KeylessCertificate, error)
public static KeylessCertificate Get(string name, Input<string> id, KeylessCertificateState? state, CustomResourceOptions? opts = null)
public static KeylessCertificate get(String name, Output<String> id, KeylessCertificateState state, CustomResourceOptions options)
resources: _: type: cloudflare:KeylessCertificate get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bundle
Method 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".
- Certificate string
- The zone's SSL certificate or SSL certificate and intermediate(s).
- Created
On string - When the Keyless SSL was created.
- Enabled bool
- Whether or not the Keyless SSL is on or off.
- Host string
- The keyless SSL name.
- Modified
On string - When the Keyless SSL was last modified.
- Name string
- The keyless SSL name.
- Permissions List<string>
- Available permissions for the Keyless SSL for the current user requesting the item.
- Port double
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- Status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- Tunnel
Keyless
Certificate Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- Zone
Id string - Identifier
- Bundle
Method 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".
- Certificate string
- The zone's SSL certificate or SSL certificate and intermediate(s).
- Created
On string - When the Keyless SSL was created.
- Enabled bool
- Whether or not the Keyless SSL is on or off.
- Host string
- The keyless SSL name.
- Modified
On string - When the Keyless SSL was last modified.
- Name string
- The keyless SSL name.
- Permissions []string
- Available permissions for the Keyless SSL for the current user requesting the item.
- Port float64
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- Status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- Tunnel
Keyless
Certificate Tunnel Args - Configuration for using Keyless SSL through a Cloudflare Tunnel
- Zone
Id string - Identifier
- bundle
Method 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".
- certificate String
- The zone's SSL certificate or SSL certificate and intermediate(s).
- created
On String - When the Keyless SSL was created.
- enabled Boolean
- Whether or not the Keyless SSL is on or off.
- host String
- The keyless SSL name.
- modified
On String - When the Keyless SSL was last modified.
- name String
- The keyless SSL name.
- permissions List<String>
- Available permissions for the Keyless SSL for the current user requesting the item.
- port Double
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status String
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel
Keyless
Certificate Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- zone
Id String - Identifier
- bundle
Method 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".
- certificate string
- The zone's SSL certificate or SSL certificate and intermediate(s).
- created
On string - When the Keyless SSL was created.
- enabled boolean
- Whether or not the Keyless SSL is on or off.
- host string
- The keyless SSL name.
- modified
On string - When the Keyless SSL was last modified.
- name string
- The keyless SSL name.
- permissions string[]
- Available permissions for the Keyless SSL for the current user requesting the item.
- port number
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel
Keyless
Certificate Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- zone
Id string - Identifier
- bundle_
method str - 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".
- certificate str
- The zone's SSL certificate or SSL certificate and intermediate(s).
- created_
on str - When the Keyless SSL was created.
- enabled bool
- Whether or not the Keyless SSL is on or off.
- host str
- The keyless SSL name.
- modified_
on str - When the Keyless SSL was last modified.
- name str
- The keyless SSL name.
- permissions Sequence[str]
- Available permissions for the Keyless SSL for the current user requesting the item.
- port float
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status str
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel
Keyless
Certificate Tunnel Args - Configuration for using Keyless SSL through a Cloudflare Tunnel
- zone_
id str - Identifier
- bundle
Method 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".
- certificate String
- The zone's SSL certificate or SSL certificate and intermediate(s).
- created
On String - When the Keyless SSL was created.
- enabled Boolean
- Whether or not the Keyless SSL is on or off.
- host String
- The keyless SSL name.
- modified
On String - When the Keyless SSL was last modified.
- name String
- The keyless SSL name.
- permissions List<String>
- Available permissions for the Keyless SSL for the current user requesting the item.
- port Number
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status String
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel Property Map
- Configuration for using Keyless SSL through a Cloudflare Tunnel
- zone
Id String - Identifier
Supporting Types
KeylessCertificateTunnel, KeylessCertificateTunnelArgs
- private_
ip str - Private IP of the Key Server Host
- vnet_
id str - Cloudflare Tunnel Virtual Network ID
Import
$ pulumi import cloudflare:index/keylessCertificate:KeylessCertificate example '<zone_id>/<keyless_certificate_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.