1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getCertificateProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    CertificateProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Look up a single certificate profile object by its ID.
    // The ID used here is from the API response log you provided.
    const scmCertificateProfileDs = scm.getCertificateProfile({
        id: "8e64859b-eba9-4e25-9005-754c90c2b02d",
    });
    export const exampleCpDsResult = scmCertificateProfileDs;
    
    import pulumi
    import pulumi_scm as scm
    
    # Look up a single certificate profile object by its ID.
    # The ID used here is from the API response log you provided.
    scm_certificate_profile_ds = scm.get_certificate_profile(id="8e64859b-eba9-4e25-9005-754c90c2b02d")
    pulumi.export("exampleCpDsResult", scm_certificate_profile_ds)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Look up a single certificate profile object by its ID.
    		// The ID used here is from the API response log you provided.
    		scmCertificateProfileDs, err := scm.LookupCertificateProfile(ctx, &scm.LookupCertificateProfileArgs{
    			Id: "8e64859b-eba9-4e25-9005-754c90c2b02d",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("exampleCpDsResult", scmCertificateProfileDs)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Look up a single certificate profile object by its ID.
        // The ID used here is from the API response log you provided.
        var scmCertificateProfileDs = Scm.GetCertificateProfile.Invoke(new()
        {
            Id = "8e64859b-eba9-4e25-9005-754c90c2b02d",
        });
    
        return new Dictionary<string, object?>
        {
            ["exampleCpDsResult"] = scmCertificateProfileDs,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetCertificateProfileArgs;
    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) {
            // Look up a single certificate profile object by its ID.
            // The ID used here is from the API response log you provided.
            final var scmCertificateProfileDs = ScmFunctions.getCertificateProfile(GetCertificateProfileArgs.builder()
                .id("8e64859b-eba9-4e25-9005-754c90c2b02d")
                .build());
    
            ctx.export("exampleCpDsResult", scmCertificateProfileDs);
        }
    }
    
    variables:
      # Look up a single certificate profile object by its ID.
      # The ID used here is from the API response log you provided.
      scmCertificateProfileDs:
        fn::invoke:
          function: scm:getCertificateProfile
          arguments:
            id: 8e64859b-eba9-4e25-9005-754c90c2b02d
    outputs:
      # Output the details of the single application object found.
      exampleCpDsResult: ${scmCertificateProfileDs}
    

    Using getCertificateProfile

    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 getCertificateProfile(args: GetCertificateProfileArgs, opts?: InvokeOptions): Promise<GetCertificateProfileResult>
    function getCertificateProfileOutput(args: GetCertificateProfileOutputArgs, opts?: InvokeOptions): Output<GetCertificateProfileResult>
    def get_certificate_profile(id: Optional[str] = None,
                                name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCertificateProfileResult
    def get_certificate_profile_output(id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCertificateProfileResult]
    func LookupCertificateProfile(ctx *Context, args *LookupCertificateProfileArgs, opts ...InvokeOption) (*LookupCertificateProfileResult, error)
    func LookupCertificateProfileOutput(ctx *Context, args *LookupCertificateProfileOutputArgs, opts ...InvokeOption) LookupCertificateProfileResultOutput

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

    public static class GetCertificateProfile 
    {
        public static Task<GetCertificateProfileResult> InvokeAsync(GetCertificateProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetCertificateProfileResult> Invoke(GetCertificateProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
    public static Output<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getCertificateProfile:getCertificateProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the certificate profile
    Name string
    The name of the certificate profile
    Id string
    The UUID of the certificate profile
    Name string
    The name of the certificate profile
    id String
    The UUID of the certificate profile
    name String
    The name of the certificate profile
    id string
    The UUID of the certificate profile
    name string
    The name of the certificate profile
    id str
    The UUID of the certificate profile
    name str
    The name of the certificate profile
    id String
    The UUID of the certificate profile
    name String
    The name of the certificate profile

    getCertificateProfile Result

    The following output properties are available:

    BlockExpiredCert bool
    Block sessions with expired certificates?
    BlockTimeoutCert bool
    Block session if certificate status cannot be retrieved within timeout?
    BlockUnauthenticatedCert bool
    Block session if the certificate was not issued to the authenticating device?
    BlockUnknownCert bool
    Block session if certificate status is unknown?
    CaCertificates List<GetCertificateProfileCaCertificate>
    An ordered list of CA certificates
    CertStatusTimeout string
    Certificate status timeout
    CrlReceiveTimeout string
    CRL receive timeout (seconds)
    Device string
    The device in which the resource is defined
    Domain string
    User domain
    Folder string
    The folder in which the resource is defined
    Id string
    The UUID of the certificate profile
    Name string
    The name of the certificate profile
    OcspReceiveTimeout string
    OCSP receive timeout (seconds)
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    UseCrl bool
    Use CRL?
    UseOcsp bool
    Use OCSP?
    UsernameField GetCertificateProfileUsernameField
    Certificate username field
    BlockExpiredCert bool
    Block sessions with expired certificates?
    BlockTimeoutCert bool
    Block session if certificate status cannot be retrieved within timeout?
    BlockUnauthenticatedCert bool
    Block session if the certificate was not issued to the authenticating device?
    BlockUnknownCert bool
    Block session if certificate status is unknown?
    CaCertificates []GetCertificateProfileCaCertificate
    An ordered list of CA certificates
    CertStatusTimeout string
    Certificate status timeout
    CrlReceiveTimeout string
    CRL receive timeout (seconds)
    Device string
    The device in which the resource is defined
    Domain string
    User domain
    Folder string
    The folder in which the resource is defined
    Id string
    The UUID of the certificate profile
    Name string
    The name of the certificate profile
    OcspReceiveTimeout string
    OCSP receive timeout (seconds)
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    UseCrl bool
    Use CRL?
    UseOcsp bool
    Use OCSP?
    UsernameField GetCertificateProfileUsernameField
    Certificate username field
    blockExpiredCert Boolean
    Block sessions with expired certificates?
    blockTimeoutCert Boolean
    Block session if certificate status cannot be retrieved within timeout?
    blockUnauthenticatedCert Boolean
    Block session if the certificate was not issued to the authenticating device?
    blockUnknownCert Boolean
    Block session if certificate status is unknown?
    caCertificates List<GetCertificateProfileCaCertificate>
    An ordered list of CA certificates
    certStatusTimeout String
    Certificate status timeout
    crlReceiveTimeout String
    CRL receive timeout (seconds)
    device String
    The device in which the resource is defined
    domain String
    User domain
    folder String
    The folder in which the resource is defined
    id String
    The UUID of the certificate profile
    name String
    The name of the certificate profile
    ocspReceiveTimeout String
    OCSP receive timeout (seconds)
    snippet String
    The snippet in which the resource is defined
    tfid String
    useCrl Boolean
    Use CRL?
    useOcsp Boolean
    Use OCSP?
    usernameField GetCertificateProfileUsernameField
    Certificate username field
    blockExpiredCert boolean
    Block sessions with expired certificates?
    blockTimeoutCert boolean
    Block session if certificate status cannot be retrieved within timeout?
    blockUnauthenticatedCert boolean
    Block session if the certificate was not issued to the authenticating device?
    blockUnknownCert boolean
    Block session if certificate status is unknown?
    caCertificates GetCertificateProfileCaCertificate[]
    An ordered list of CA certificates
    certStatusTimeout string
    Certificate status timeout
    crlReceiveTimeout string
    CRL receive timeout (seconds)
    device string
    The device in which the resource is defined
    domain string
    User domain
    folder string
    The folder in which the resource is defined
    id string
    The UUID of the certificate profile
    name string
    The name of the certificate profile
    ocspReceiveTimeout string
    OCSP receive timeout (seconds)
    snippet string
    The snippet in which the resource is defined
    tfid string
    useCrl boolean
    Use CRL?
    useOcsp boolean
    Use OCSP?
    usernameField GetCertificateProfileUsernameField
    Certificate username field
    block_expired_cert bool
    Block sessions with expired certificates?
    block_timeout_cert bool
    Block session if certificate status cannot be retrieved within timeout?
    block_unauthenticated_cert bool
    Block session if the certificate was not issued to the authenticating device?
    block_unknown_cert bool
    Block session if certificate status is unknown?
    ca_certificates Sequence[GetCertificateProfileCaCertificate]
    An ordered list of CA certificates
    cert_status_timeout str
    Certificate status timeout
    crl_receive_timeout str
    CRL receive timeout (seconds)
    device str
    The device in which the resource is defined
    domain str
    User domain
    folder str
    The folder in which the resource is defined
    id str
    The UUID of the certificate profile
    name str
    The name of the certificate profile
    ocsp_receive_timeout str
    OCSP receive timeout (seconds)
    snippet str
    The snippet in which the resource is defined
    tfid str
    use_crl bool
    Use CRL?
    use_ocsp bool
    Use OCSP?
    username_field GetCertificateProfileUsernameField
    Certificate username field
    blockExpiredCert Boolean
    Block sessions with expired certificates?
    blockTimeoutCert Boolean
    Block session if certificate status cannot be retrieved within timeout?
    blockUnauthenticatedCert Boolean
    Block session if the certificate was not issued to the authenticating device?
    blockUnknownCert Boolean
    Block session if certificate status is unknown?
    caCertificates List<Property Map>
    An ordered list of CA certificates
    certStatusTimeout String
    Certificate status timeout
    crlReceiveTimeout String
    CRL receive timeout (seconds)
    device String
    The device in which the resource is defined
    domain String
    User domain
    folder String
    The folder in which the resource is defined
    id String
    The UUID of the certificate profile
    name String
    The name of the certificate profile
    ocspReceiveTimeout String
    OCSP receive timeout (seconds)
    snippet String
    The snippet in which the resource is defined
    tfid String
    useCrl Boolean
    Use CRL?
    useOcsp Boolean
    Use OCSP?
    usernameField Property Map
    Certificate username field

    Supporting Types

    GetCertificateProfileCaCertificate

    DefaultOcspUrl string
    Default OCSP URL
    Name string
    CA certificate name
    OcspVerifyCert string
    OCSP verify certificate
    TemplateName string
    Template name/OID
    DefaultOcspUrl string
    Default OCSP URL
    Name string
    CA certificate name
    OcspVerifyCert string
    OCSP verify certificate
    TemplateName string
    Template name/OID
    defaultOcspUrl String
    Default OCSP URL
    name String
    CA certificate name
    ocspVerifyCert String
    OCSP verify certificate
    templateName String
    Template name/OID
    defaultOcspUrl string
    Default OCSP URL
    name string
    CA certificate name
    ocspVerifyCert string
    OCSP verify certificate
    templateName string
    Template name/OID
    default_ocsp_url str
    Default OCSP URL
    name str
    CA certificate name
    ocsp_verify_cert str
    OCSP verify certificate
    template_name str
    Template name/OID
    defaultOcspUrl String
    Default OCSP URL
    name String
    CA certificate name
    ocspVerifyCert String
    OCSP verify certificate
    templateName String
    Template name/OID

    GetCertificateProfileUsernameField

    Subject string
    Common name
    SubjectAlt string
    Email address
    Subject string
    Common name
    SubjectAlt string
    Email address
    subject String
    Common name
    subjectAlt String
    Email address
    subject string
    Common name
    subjectAlt string
    Email address
    subject str
    Common name
    subject_alt str
    Email address
    subject String
    Common name
    subjectAlt String
    Email address

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate