1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getKeylessCertificates
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getKeylessCertificates

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleKeylessCertificates = cloudflare.getKeylessCertificates({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_keyless_certificates = cloudflare.get_keyless_certificates(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupKeylessCertificates(ctx, &cloudflare.LookupKeylessCertificatesArgs{
    			ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleKeylessCertificates = Cloudflare.GetKeylessCertificates.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetKeylessCertificatesArgs;
    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) {
            final var exampleKeylessCertificates = CloudflareFunctions.getKeylessCertificates(GetKeylessCertificatesArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleKeylessCertificates:
        fn::invoke:
          function: cloudflare:getKeylessCertificates
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getKeylessCertificates

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getKeylessCertificates(args: GetKeylessCertificatesArgs, opts?: InvokeOptions): Promise<GetKeylessCertificatesResult>
    function getKeylessCertificatesOutput(args: GetKeylessCertificatesOutputArgs, opts?: InvokeOptions): Output<GetKeylessCertificatesResult>
    def get_keyless_certificates(max_items: Optional[int] = None,
                                 zone_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetKeylessCertificatesResult
    def get_keyless_certificates_output(max_items: Optional[pulumi.Input[int]] = None,
                                 zone_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetKeylessCertificatesResult]
    func LookupKeylessCertificates(ctx *Context, args *LookupKeylessCertificatesArgs, opts ...InvokeOption) (*LookupKeylessCertificatesResult, error)
    func LookupKeylessCertificatesOutput(ctx *Context, args *LookupKeylessCertificatesOutputArgs, opts ...InvokeOption) LookupKeylessCertificatesResultOutput

    > Note: This function is named LookupKeylessCertificates in the Go SDK.

    public static class GetKeylessCertificates 
    {
        public static Task<GetKeylessCertificatesResult> InvokeAsync(GetKeylessCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetKeylessCertificatesResult> Invoke(GetKeylessCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKeylessCertificatesResult> getKeylessCertificates(GetKeylessCertificatesArgs args, InvokeOptions options)
    public static Output<GetKeylessCertificatesResult> getKeylessCertificates(GetKeylessCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getKeylessCertificates:getKeylessCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Identifier
    MaxItems int
    Max items to fetch, default: 1000
    ZoneId string
    Identifier
    MaxItems int
    Max items to fetch, default: 1000
    zoneId String
    Identifier
    maxItems Integer
    Max items to fetch, default: 1000
    zoneId string
    Identifier
    maxItems number
    Max items to fetch, default: 1000
    zone_id str
    Identifier
    max_items int
    Max items to fetch, default: 1000
    zoneId String
    Identifier
    maxItems Number
    Max items to fetch, default: 1000

    getKeylessCertificates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetKeylessCertificatesResult>
    The items returned by the data source
    ZoneId string
    Identifier
    MaxItems int
    Max items to fetch, default: 1000
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetKeylessCertificatesResult
    The items returned by the data source
    ZoneId string
    Identifier
    MaxItems int
    Max items to fetch, default: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetKeylessCertificatesResult>
    The items returned by the data source
    zoneId String
    Identifier
    maxItems Integer
    Max items to fetch, default: 1000
    id string
    The provider-assigned unique ID for this managed resource.
    results GetKeylessCertificatesResult[]
    The items returned by the data source
    zoneId string
    Identifier
    maxItems number
    Max items to fetch, default: 1000
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetKeylessCertificatesResult]
    The items returned by the data source
    zone_id str
    Identifier
    max_items int
    Max items to fetch, default: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    zoneId String
    Identifier
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetKeylessCertificatesResult

    CreatedOn 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.
    Id string
    Keyless certificate identifier tag.
    ModifiedOn 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 GetKeylessCertificatesResultTunnel
    Configuration for using Keyless SSL through a Cloudflare Tunnel
    CreatedOn 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.
    Id string
    Keyless certificate identifier tag.
    ModifiedOn 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 GetKeylessCertificatesResultTunnel
    Configuration for using Keyless SSL through a Cloudflare Tunnel
    createdOn 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.
    id String
    Keyless certificate identifier tag.
    modifiedOn 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 GetKeylessCertificatesResultTunnel
    Configuration for using Keyless SSL through a Cloudflare Tunnel
    createdOn 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.
    id string
    Keyless certificate identifier tag.
    modifiedOn 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 GetKeylessCertificatesResultTunnel
    Configuration for using Keyless SSL through a Cloudflare Tunnel
    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.
    id str
    Keyless certificate identifier tag.
    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 GetKeylessCertificatesResultTunnel
    Configuration for using Keyless SSL through a Cloudflare Tunnel
    createdOn 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.
    id String
    Keyless certificate identifier tag.
    modifiedOn 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

    GetKeylessCertificatesResultTunnel

    PrivateIp string
    Private IP of the Key Server Host
    VnetId string
    Cloudflare Tunnel Virtual Network ID
    PrivateIp string
    Private IP of the Key Server Host
    VnetId string
    Cloudflare Tunnel Virtual Network ID
    privateIp String
    Private IP of the Key Server Host
    vnetId String
    Cloudflare Tunnel Virtual Network ID
    privateIp string
    Private IP of the Key Server Host
    vnetId string
    Cloudflare Tunnel Virtual Network ID
    private_ip str
    Private IP of the Key Server Host
    vnet_id str
    Cloudflare Tunnel Virtual Network ID
    privateIp String
    Private IP of the Key Server Host
    vnetId String
    Cloudflare Tunnel Virtual Network ID

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi