Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getCertificateProfile
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 dictionaryThe following arguments are supported:
getCertificateProfile Result
The following output properties are available:
- Block
Expired boolCert - Block sessions with expired certificates?
- Block
Timeout boolCert - Block session if certificate status cannot be retrieved within timeout?
- Block
Unauthenticated boolCert - Block session if the certificate was not issued to the authenticating device?
- Block
Unknown boolCert - Block session if certificate status is unknown?
- Ca
Certificates List<GetCertificate Profile Ca Certificate> - An ordered list of CA certificates
- Cert
Status stringTimeout - Certificate status timeout
- Crl
Receive stringTimeout - 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
- Ocsp
Receive stringTimeout - OCSP receive timeout (seconds)
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Use
Crl bool - Use CRL?
- Use
Ocsp bool - Use OCSP?
- Username
Field GetCertificate Profile Username Field - Certificate username field
- Block
Expired boolCert - Block sessions with expired certificates?
- Block
Timeout boolCert - Block session if certificate status cannot be retrieved within timeout?
- Block
Unauthenticated boolCert - Block session if the certificate was not issued to the authenticating device?
- Block
Unknown boolCert - Block session if certificate status is unknown?
- Ca
Certificates []GetCertificate Profile Ca Certificate - An ordered list of CA certificates
- Cert
Status stringTimeout - Certificate status timeout
- Crl
Receive stringTimeout - 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
- Ocsp
Receive stringTimeout - OCSP receive timeout (seconds)
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Use
Crl bool - Use CRL?
- Use
Ocsp bool - Use OCSP?
- Username
Field GetCertificate Profile Username Field - Certificate username field
- block
Expired BooleanCert - Block sessions with expired certificates?
- block
Timeout BooleanCert - Block session if certificate status cannot be retrieved within timeout?
- block
Unauthenticated BooleanCert - Block session if the certificate was not issued to the authenticating device?
- block
Unknown BooleanCert - Block session if certificate status is unknown?
- ca
Certificates List<GetCertificate Profile Ca Certificate> - An ordered list of CA certificates
- cert
Status StringTimeout - Certificate status timeout
- crl
Receive StringTimeout - 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
- ocsp
Receive StringTimeout - OCSP receive timeout (seconds)
- snippet String
- The snippet in which the resource is defined
- tfid String
- use
Crl Boolean - Use CRL?
- use
Ocsp Boolean - Use OCSP?
- username
Field GetCertificate Profile Username Field - Certificate username field
- block
Expired booleanCert - Block sessions with expired certificates?
- block
Timeout booleanCert - Block session if certificate status cannot be retrieved within timeout?
- block
Unauthenticated booleanCert - Block session if the certificate was not issued to the authenticating device?
- block
Unknown booleanCert - Block session if certificate status is unknown?
- ca
Certificates GetCertificate Profile Ca Certificate[] - An ordered list of CA certificates
- cert
Status stringTimeout - Certificate status timeout
- crl
Receive stringTimeout - 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
- ocsp
Receive stringTimeout - OCSP receive timeout (seconds)
- snippet string
- The snippet in which the resource is defined
- tfid string
- use
Crl boolean - Use CRL?
- use
Ocsp boolean - Use OCSP?
- username
Field GetCertificate Profile Username Field - Certificate username field
- block_
expired_ boolcert - Block sessions with expired certificates?
- block_
timeout_ boolcert - Block session if certificate status cannot be retrieved within timeout?
- block_
unauthenticated_ boolcert - Block session if the certificate was not issued to the authenticating device?
- block_
unknown_ boolcert - Block session if certificate status is unknown?
- ca_
certificates Sequence[GetCertificate Profile Ca Certificate] - An ordered list of CA certificates
- cert_
status_ strtimeout - Certificate status timeout
- crl_
receive_ strtimeout - 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_ strtimeout - 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 GetCertificate Profile Username Field - Certificate username field
- block
Expired BooleanCert - Block sessions with expired certificates?
- block
Timeout BooleanCert - Block session if certificate status cannot be retrieved within timeout?
- block
Unauthenticated BooleanCert - Block session if the certificate was not issued to the authenticating device?
- block
Unknown BooleanCert - Block session if certificate status is unknown?
- ca
Certificates List<Property Map> - An ordered list of CA certificates
- cert
Status StringTimeout - Certificate status timeout
- crl
Receive StringTimeout - 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
- ocsp
Receive StringTimeout - OCSP receive timeout (seconds)
- snippet String
- The snippet in which the resource is defined
- tfid String
- use
Crl Boolean - Use CRL?
- use
Ocsp Boolean - Use OCSP?
- username
Field Property Map - Certificate username field
Supporting Types
GetCertificateProfileCaCertificate
- Default
Ocsp stringUrl - Default OCSP URL
- Name string
- CA certificate name
- Ocsp
Verify stringCert - OCSP verify certificate
- Template
Name string - Template name/OID
- Default
Ocsp stringUrl - Default OCSP URL
- Name string
- CA certificate name
- Ocsp
Verify stringCert - OCSP verify certificate
- Template
Name string - Template name/OID
- default
Ocsp StringUrl - Default OCSP URL
- name String
- CA certificate name
- ocsp
Verify StringCert - OCSP verify certificate
- template
Name String - Template name/OID
- default
Ocsp stringUrl - Default OCSP URL
- name string
- CA certificate name
- ocsp
Verify stringCert - OCSP verify certificate
- template
Name string - Template name/OID
- default_
ocsp_ strurl - Default OCSP URL
- name str
- CA certificate name
- ocsp_
verify_ strcert - OCSP verify certificate
- template_
name str - Template name/OID
- default
Ocsp StringUrl - Default OCSP URL
- name String
- CA certificate name
- ocsp
Verify StringCert - OCSP verify certificate
- template
Name String - Template name/OID
GetCertificateProfileUsernameField
- Subject string
- Common name
- Subject
Alt string - Email address
- Subject string
- Common name
- Subject
Alt string - Email address
- subject String
- Common name
- subject
Alt String - Email address
- subject string
- Common name
- subject
Alt string - Email address
- subject str
- Common name
- subject_
alt str - Email address
- subject String
- Common name
- subject
Alt String - Email address
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
