1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getScepProfile
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi

    ScepProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM SCEP Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM SCEP Profile you want to find.
    const scmScepProf = scm.getScepProfile({
        id: "06c1d4ea-e2b1-44c9-bf5a-3f66c7d180a1",
    });
    export const scmScepProfileDetails = {
        profileId: scmScepProf.then(scmScepProf => scmScepProf.id),
        folder: scmScepProf.then(scmScepProf => scmScepProf.folder),
        name: scmScepProf.then(scmScepProf => scmScepProf.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM SCEP Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM SCEP Profile you want to find.
    scm_scep_prof = scm.get_scep_profile(id="06c1d4ea-e2b1-44c9-bf5a-3f66c7d180a1")
    pulumi.export("scmScepProfileDetails", {
        "profileId": scm_scep_prof.id,
        "folder": scm_scep_prof.folder,
        "name": scm_scep_prof.name,
    })
    
    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 {
    		// Data source to retrieve a single SCM SCEP Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM SCEP Profile you want to find.
    		scmScepProf, err := scm.LookupScepProfile(ctx, &scm.LookupScepProfileArgs{
    			Id: "06c1d4ea-e2b1-44c9-bf5a-3f66c7d180a1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmScepProfileDetails", pulumi.StringMap{
    			"profileId": scmScepProf.Id,
    			"folder":    scmScepProf.Folder,
    			"name":      scmScepProf.Name,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a single SCM SCEP Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM SCEP Profile you want to find.
        var scmScepProf = Scm.GetScepProfile.Invoke(new()
        {
            Id = "06c1d4ea-e2b1-44c9-bf5a-3f66c7d180a1",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmScepProfileDetails"] = 
            {
                { "profileId", scmScepProf.Apply(getScepProfileResult => getScepProfileResult.Id) },
                { "folder", scmScepProf.Apply(getScepProfileResult => getScepProfileResult.Folder) },
                { "name", scmScepProf.Apply(getScepProfileResult => getScepProfileResult.Name) },
            },
        };
    });
    
    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.GetScepProfileArgs;
    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) {
            //
            // Data source to retrieve a single SCM SCEP Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM SCEP Profile you want to find.
            final var scmScepProf = ScmFunctions.getScepProfile(GetScepProfileArgs.builder()
                .id("06c1d4ea-e2b1-44c9-bf5a-3f66c7d180a1")
                .build());
    
            ctx.export("scmScepProfileDetails", Map.ofEntries(
                Map.entry("profileId", scmScepProf.id()),
                Map.entry("folder", scmScepProf.folder()),
                Map.entry("name", scmScepProf.name())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM SCEP Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM SCEP Profile you want to find.
      scmScepProf:
        fn::invoke:
          function: scm:getScepProfile
          arguments:
            id: 06c1d4ea-e2b1-44c9-bf5a-3f66c7d180a1
    outputs:
      # Output the details of the single SCM SCEP Profile object found.
      scmScepProfileDetails:
        profileId: ${scmScepProf.id}
        folder: ${scmScepProf.folder}
        name: ${scmScepProf.name}
    

    Using getScepProfile

    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 getScepProfile(args: GetScepProfileArgs, opts?: InvokeOptions): Promise<GetScepProfileResult>
    function getScepProfileOutput(args: GetScepProfileOutputArgs, opts?: InvokeOptions): Output<GetScepProfileResult>
    def get_scep_profile(device: Optional[str] = None,
                         folder: Optional[str] = None,
                         id: Optional[str] = None,
                         name: Optional[str] = None,
                         snippet: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetScepProfileResult
    def get_scep_profile_output(device: Optional[pulumi.Input[str]] = None,
                         folder: Optional[pulumi.Input[str]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         snippet: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetScepProfileResult]
    func LookupScepProfile(ctx *Context, args *LookupScepProfileArgs, opts ...InvokeOption) (*LookupScepProfileResult, error)
    func LookupScepProfileOutput(ctx *Context, args *LookupScepProfileOutputArgs, opts ...InvokeOption) LookupScepProfileResultOutput

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

    public static class GetScepProfile 
    {
        public static Task<GetScepProfileResult> InvokeAsync(GetScepProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetScepProfileResult> Invoke(GetScepProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetScepProfileResult> getScepProfile(GetScepProfileArgs args, InvokeOptions options)
    public static Output<GetScepProfileResult> getScepProfile(GetScepProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getScepProfile:getScepProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the SCEP profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    Id string
    The UUID of the SCEP profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    The UUID of the SCEP profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    The UUID of the SCEP profile
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    The UUID of the SCEP profile
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    The UUID of the SCEP profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getScepProfile Result

    The following output properties are available:

    Algorithm GetScepProfileAlgorithm
    CaIdentityName string
    CertificateAttributes GetScepProfileCertificateAttributes
    Device string
    The device in which the resource is defined
    Digest string
    EncryptedValues Dictionary<string, string>
    Fingerprint string
    Folder string
    Id string
    The UUID of the SCEP profile
    Name string
    ScepCaCert string
    ScepChallenge GetScepProfileScepChallenge
    ScepClientCert string
    ScepUrl string
    Snippet string
    Subject string
    Tfid string
    UseAsDigitalSignature bool
    UseForKeyEncipherment bool
    Algorithm GetScepProfileAlgorithm
    CaIdentityName string
    CertificateAttributes GetScepProfileCertificateAttributes
    Device string
    The device in which the resource is defined
    Digest string
    EncryptedValues map[string]string
    Fingerprint string
    Folder string
    Id string
    The UUID of the SCEP profile
    Name string
    ScepCaCert string
    ScepChallenge GetScepProfileScepChallenge
    ScepClientCert string
    ScepUrl string
    Snippet string
    Subject string
    Tfid string
    UseAsDigitalSignature bool
    UseForKeyEncipherment bool
    algorithm GetScepProfileAlgorithm
    caIdentityName String
    certificateAttributes GetScepProfileCertificateAttributes
    device String
    The device in which the resource is defined
    digest String
    encryptedValues Map<String,String>
    fingerprint String
    folder String
    id String
    The UUID of the SCEP profile
    name String
    scepCaCert String
    scepChallenge GetScepProfileScepChallenge
    scepClientCert String
    scepUrl String
    snippet String
    subject String
    tfid String
    useAsDigitalSignature Boolean
    useForKeyEncipherment Boolean
    algorithm GetScepProfileAlgorithm
    caIdentityName string
    certificateAttributes GetScepProfileCertificateAttributes
    device string
    The device in which the resource is defined
    digest string
    encryptedValues {[key: string]: string}
    fingerprint string
    folder string
    id string
    The UUID of the SCEP profile
    name string
    scepCaCert string
    scepChallenge GetScepProfileScepChallenge
    scepClientCert string
    scepUrl string
    snippet string
    subject string
    tfid string
    useAsDigitalSignature boolean
    useForKeyEncipherment boolean
    algorithm Property Map
    caIdentityName String
    certificateAttributes Property Map
    device String
    The device in which the resource is defined
    digest String
    encryptedValues Map<String>
    fingerprint String
    folder String
    id String
    The UUID of the SCEP profile
    name String
    scepCaCert String
    scepChallenge Property Map
    scepClientCert String
    scepUrl String
    snippet String
    subject String
    tfid String
    useAsDigitalSignature Boolean
    useForKeyEncipherment Boolean

    Supporting Types

    GetScepProfileAlgorithm

    rsa Property Map
    Key length (bits)

    GetScepProfileAlgorithmRsa

    RsaNbits string
    Rsa nbits
    RsaNbits string
    Rsa nbits
    rsaNbits String
    Rsa nbits
    rsaNbits string
    Rsa nbits
    rsa_nbits str
    Rsa nbits
    rsaNbits String
    Rsa nbits

    GetScepProfileCertificateAttributes

    Dnsname string
    Dnsname
    Rfc822name string

    Rfc822name

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    UniformResourceIdentifier string

    Uniform resource identifier

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    Dnsname string
    Dnsname
    Rfc822name string

    Rfc822name

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    UniformResourceIdentifier string

    Uniform resource identifier

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    dnsname String
    Dnsname
    rfc822name String

    Rfc822name

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    uniformResourceIdentifier String

    Uniform resource identifier

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    dnsname string
    Dnsname
    rfc822name string

    Rfc822name

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    uniformResourceIdentifier string

    Uniform resource identifier

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    dnsname str
    Dnsname
    rfc822name str

    Rfc822name

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    uniform_resource_identifier str

    Uniform resource identifier

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    dnsname String
    Dnsname
    rfc822name String

    Rfc822name

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    uniformResourceIdentifier String

    Uniform resource identifier

    ℹ️ Note: You must specify exactly one of dnsname, rfc822name, and uniform_resource_identifier.

    GetScepProfileScepChallenge

    Dynamic GetScepProfileScepChallengeDynamic
    Dynamic
    Fixed string

    Challenge to use for SCEP server on mobile clients

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    None GetScepProfileScepChallengeNone

    No OTP

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    Dynamic GetScepProfileScepChallengeDynamic
    Dynamic
    Fixed string

    Challenge to use for SCEP server on mobile clients

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    None GetScepProfileScepChallengeNone

    No OTP

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    dynamic GetScepProfileScepChallengeDynamic
    Dynamic
    fixed String

    Challenge to use for SCEP server on mobile clients

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    none GetScepProfileScepChallengeNone

    No OTP

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    dynamic GetScepProfileScepChallengeDynamic
    Dynamic
    fixed string

    Challenge to use for SCEP server on mobile clients

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    none GetScepProfileScepChallengeNone

    No OTP

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    dynamic GetScepProfileScepChallengeDynamic
    Dynamic
    fixed str

    Challenge to use for SCEP server on mobile clients

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    none GetScepProfileScepChallengeNone

    No OTP

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    dynamic Property Map
    Dynamic
    fixed String

    Challenge to use for SCEP server on mobile clients

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    none Property Map

    No OTP

    ℹ️ Note: You must specify exactly one of dynamic, fixed, and none.

    GetScepProfileScepChallengeDynamic

    OtpServerUrl string
    OTP server URL
    Password string
    OTP password
    Username string
    OTP username
    OtpServerUrl string
    OTP server URL
    Password string
    OTP password
    Username string
    OTP username
    otpServerUrl String
    OTP server URL
    password String
    OTP password
    username String
    OTP username
    otpServerUrl string
    OTP server URL
    password string
    OTP password
    username string
    OTP username
    otp_server_url str
    OTP server URL
    password str
    OTP password
    username str
    OTP username
    otpServerUrl String
    OTP server URL
    password String
    OTP password
    username String
    OTP username

    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 v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate