1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getCisCertificates
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud

    Retrieve an information of an existing IBM Cloud Internet Services certificates resource. For more information about CIS certificate order, refer to managing origin certificates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const test = ibm.getCisCertificates({
        cisId: instance.id,
        domainId: example.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test = ibm.get_cis_certificates(cis_id=instance["id"],
        domain_id=example["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.GetCisCertificates(ctx, &ibm.GetCisCertificatesArgs{
    			CisId:    instance.Id,
    			DomainId: example.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Ibm.GetCisCertificates.Invoke(new()
        {
            CisId = instance.Id,
            DomainId = example.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCisCertificatesArgs;
    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 test = IbmFunctions.getCisCertificates(GetCisCertificatesArgs.builder()
                .cisId(instance.id())
                .domainId(example.id())
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: ibm:getCisCertificates
          arguments:
            cisId: ${instance.id}
            domainId: ${example.id}
    
    Example coming soon!
    

    Using getCisCertificates

    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 getCisCertificates(args: GetCisCertificatesArgs, opts?: InvokeOptions): Promise<GetCisCertificatesResult>
    function getCisCertificatesOutput(args: GetCisCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCisCertificatesResult>
    def get_cis_certificates(cis_id: Optional[str] = None,
                             domain_id: Optional[str] = None,
                             id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCisCertificatesResult
    def get_cis_certificates_output(cis_id: pulumi.Input[Optional[str]] = None,
                             domain_id: pulumi.Input[Optional[str]] = None,
                             id: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCisCertificatesResult]
    func GetCisCertificates(ctx *Context, args *GetCisCertificatesArgs, opts ...InvokeOption) (*GetCisCertificatesResult, error)
    func GetCisCertificatesOutput(ctx *Context, args *GetCisCertificatesOutputArgs, opts ...InvokeOption) GetCisCertificatesResultOutput

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

    public static class GetCisCertificates 
    {
        public static Task<GetCisCertificatesResult> InvokeAsync(GetCisCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetCisCertificatesResult> Invoke(GetCisCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCisCertificatesResult> getCisCertificates(GetCisCertificatesArgs args, InvokeOptions options)
    public static Output<GetCisCertificatesResult> getCisCertificates(GetCisCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCisCertificates:getCisCertificates
      arguments:
        # arguments dictionary
    data "ibm_getciscertificates" "name" {
        # arguments
    }

    The following arguments are supported:

    CisId string
    The ID of the CIS instance.
    DomainId string
    The ID of the domain.
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    CisId string
    The ID of the CIS instance.
    DomainId string
    The ID of the domain.
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    cis_id string
    The ID of the CIS instance.
    domain_id string
    The ID of the domain.
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    cisId String
    The ID of the CIS instance.
    domainId String
    The ID of the domain.
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    cisId string
    The ID of the CIS instance.
    domainId string
    The ID of the domain.
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    cis_id str
    The ID of the CIS instance.
    domain_id str
    The ID of the domain.
    id str
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    cisId String
    The ID of the CIS instance.
    domainId String
    The ID of the domain.
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.

    getCisCertificates Result

    The following output properties are available:

    Certificates List<GetCisCertificatesCertificate>
    (List) The list of certificates associated with the ordered certificate.
    CisId string
    DomainId string
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    Certificates []GetCisCertificatesCertificate
    (List) The list of certificates associated with the ordered certificate.
    CisId string
    DomainId string
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    certificates list(object)
    (List) The list of certificates associated with the ordered certificate.
    cis_id string
    domain_id string
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    certificates List<GetCisCertificatesCertificate>
    (List) The list of certificates associated with the ordered certificate.
    cisId String
    domainId String
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    certificates GetCisCertificatesCertificate[]
    (List) The list of certificates associated with the ordered certificate.
    cisId string
    domainId string
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    certificates Sequence[GetCisCertificatesCertificate]
    (List) The list of certificates associated with the ordered certificate.
    cis_id str
    domain_id str
    id str
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    certificates List<Property Map>
    (List) The list of certificates associated with the ordered certificate.
    cisId String
    domainId String
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.

    Supporting Types

    GetCisCertificatesCertificate

    CertificateId string
    (String) The certificate ID.
    Certificates List<GetCisCertificatesCertificateCertificate>
    (List) The list of certificates associated with the ordered certificate.
    Hosts List<string>
    (String) The hosts of the ordered certificates.
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    PrimaryCertificate string
    Status string
    (String) The certificate status.
    Type string
    (String) The certificate type.
    CertificateId string
    (String) The certificate ID.
    Certificates []GetCisCertificatesCertificateCertificate
    (List) The list of certificates associated with the ordered certificate.
    Hosts []string
    (String) The hosts of the ordered certificates.
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    PrimaryCertificate string
    Status string
    (String) The certificate status.
    Type string
    (String) The certificate type.
    certificate_id string
    (String) The certificate ID.
    certificates list(object)
    (List) The list of certificates associated with the ordered certificate.
    hosts list(string)
    (String) The hosts of the ordered certificates.
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    primary_certificate string
    status string
    (String) The certificate status.
    type string
    (String) The certificate type.
    certificateId String
    (String) The certificate ID.
    certificates List<GetCisCertificatesCertificateCertificate>
    (List) The list of certificates associated with the ordered certificate.
    hosts List<String>
    (String) The hosts of the ordered certificates.
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    primaryCertificate String
    status String
    (String) The certificate status.
    type String
    (String) The certificate type.
    certificateId string
    (String) The certificate ID.
    certificates GetCisCertificatesCertificateCertificate[]
    (List) The list of certificates associated with the ordered certificate.
    hosts string[]
    (String) The hosts of the ordered certificates.
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    primaryCertificate string
    status string
    (String) The certificate status.
    type string
    (String) The certificate type.
    certificate_id str
    (String) The certificate ID.
    certificates Sequence[GetCisCertificatesCertificateCertificate]
    (List) The list of certificates associated with the ordered certificate.
    hosts Sequence[str]
    (String) The hosts of the ordered certificates.
    id str
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    primary_certificate str
    status str
    (String) The certificate status.
    type str
    (String) The certificate type.
    certificateId String
    (String) The certificate ID.
    certificates List<Property Map>
    (List) The list of certificates associated with the ordered certificate.
    hosts List<String>
    (String) The hosts of the ordered certificates.
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    primaryCertificate String
    status String
    (String) The certificate status.
    type String
    (String) The certificate type.

    GetCisCertificatesCertificateCertificate

    Hosts List<string>
    (String) The hosts of the ordered certificates.
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    Status string
    (String) The certificate status.
    Hosts []string
    (String) The hosts of the ordered certificates.
    Id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    Status string
    (String) The certificate status.
    hosts list(string)
    (String) The hosts of the ordered certificates.
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    status string
    (String) The certificate status.
    hosts List<String>
    (String) The hosts of the ordered certificates.
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    status String
    (String) The certificate status.
    hosts string[]
    (String) The hosts of the ordered certificates.
    id string
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    status string
    (String) The certificate status.
    hosts Sequence[str]
    (String) The hosts of the ordered certificates.
    id str
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    status str
    (String) The certificate status.
    hosts List<String>
    (String) The hosts of the ordered certificates.
    id String
    (String) It is a combination of <certificate_id>:<domain_id>:<cis_id>.
    status String
    (String) The certificate status.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    Viewing docs for ibm 2.1.0
    published on Tuesday, May 5, 2026 by ibm-cloud
      Try Pulumi Cloud free. Your team will thank you.