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 dictionaryThe following arguments are supported:
getScepProfile Result
The following output properties are available:
- Algorithm
Get
Scep Profile Algorithm - Ca
Identity stringName - Certificate
Attributes GetScep Profile Certificate Attributes - Device string
- The device in which the resource is defined
- Digest string
- Encrypted
Values Dictionary<string, string> - Fingerprint string
- Folder string
- Id string
- The UUID of the SCEP profile
- Name string
- Scep
Ca stringCert - Scep
Challenge GetScep Profile Scep Challenge - Scep
Client stringCert - Scep
Url string - Snippet string
- Subject string
- Tfid string
- Use
As boolDigital Signature - Use
For boolKey Encipherment
- Algorithm
Get
Scep Profile Algorithm - Ca
Identity stringName - Certificate
Attributes GetScep Profile Certificate Attributes - Device string
- The device in which the resource is defined
- Digest string
- Encrypted
Values map[string]string - Fingerprint string
- Folder string
- Id string
- The UUID of the SCEP profile
- Name string
- Scep
Ca stringCert - Scep
Challenge GetScep Profile Scep Challenge - Scep
Client stringCert - Scep
Url string - Snippet string
- Subject string
- Tfid string
- Use
As boolDigital Signature - Use
For boolKey Encipherment
- algorithm
Get
Scep Profile Algorithm - ca
Identity StringName - certificate
Attributes GetScep Profile Certificate Attributes - device String
- The device in which the resource is defined
- digest String
- encrypted
Values Map<String,String> - fingerprint String
- folder String
- id String
- The UUID of the SCEP profile
- name String
- scep
Ca StringCert - scep
Challenge GetScep Profile Scep Challenge - scep
Client StringCert - scep
Url String - snippet String
- subject String
- tfid String
- use
As BooleanDigital Signature - use
For BooleanKey Encipherment
- algorithm
Get
Scep Profile Algorithm - ca
Identity stringName - certificate
Attributes GetScep Profile Certificate Attributes - device string
- The device in which the resource is defined
- digest string
- encrypted
Values {[key: string]: string} - fingerprint string
- folder string
- id string
- The UUID of the SCEP profile
- name string
- scep
Ca stringCert - scep
Challenge GetScep Profile Scep Challenge - scep
Client stringCert - scep
Url string - snippet string
- subject string
- tfid string
- use
As booleanDigital Signature - use
For booleanKey Encipherment
- algorithm
Get
Scep Profile Algorithm - ca_
identity_ strname - certificate_
attributes GetScep Profile Certificate Attributes - device str
- The device in which the resource is defined
- digest str
- encrypted_
values Mapping[str, str] - fingerprint str
- folder str
- id str
- The UUID of the SCEP profile
- name str
- scep_
ca_ strcert - scep_
challenge GetScep Profile Scep Challenge - scep_
client_ strcert - scep_
url str - snippet str
- subject str
- tfid str
- use_
as_ booldigital_ signature - use_
for_ boolkey_ encipherment
- algorithm Property Map
- ca
Identity StringName - certificate
Attributes Property Map - device String
- The device in which the resource is defined
- digest String
- encrypted
Values Map<String> - fingerprint String
- folder String
- id String
- The UUID of the SCEP profile
- name String
- scep
Ca StringCert - scep
Challenge Property Map - scep
Client StringCert - scep
Url String - snippet String
- subject String
- tfid String
- use
As BooleanDigital Signature - use
For BooleanKey Encipherment
Supporting Types
GetScepProfileAlgorithm
- Rsa
Get
Scep Profile Algorithm Rsa - Key length (bits)
- Rsa
Get
Scep Profile Algorithm Rsa - Key length (bits)
- rsa
Get
Scep Profile Algorithm Rsa - Key length (bits)
- rsa
Get
Scep Profile Algorithm Rsa - Key length (bits)
- rsa
Get
Scep Profile Algorithm Rsa - Key length (bits)
- rsa Property Map
- Key length (bits)
GetScepProfileAlgorithmRsa
- Rsa
Nbits string - Rsa nbits
- Rsa
Nbits string - Rsa nbits
- rsa
Nbits String - Rsa nbits
- rsa
Nbits string - Rsa nbits
- rsa_
nbits str - Rsa nbits
- rsa
Nbits String - Rsa nbits
GetScepProfileCertificateAttributes
- Dnsname string
- Dnsname
- Rfc822name string
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- Uniform
Resource stringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- Dnsname string
- Dnsname
- Rfc822name string
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- Uniform
Resource stringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname String
- Dnsname
- rfc822name String
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform
Resource StringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname string
- Dnsname
- rfc822name string
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform
Resource stringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname str
- Dnsname
- rfc822name str
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform_
resource_ stridentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
- dnsname String
- Dnsname
- rfc822name String
Rfc822name
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.- uniform
Resource StringIdentifier Uniform resource identifier
ℹ️ Note: You must specify exactly one of
dnsname,rfc822name, anduniform_resource_identifier.
GetScepProfileScepChallenge
- Dynamic
Get
Scep Profile Scep Challenge Dynamic - Dynamic
- Fixed string
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- None
Get
Scep Profile Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- Dynamic
Get
Scep Profile Scep Challenge Dynamic - Dynamic
- Fixed string
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- None
Get
Scep Profile Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic
Get
Scep Profile Scep Challenge Dynamic - Dynamic
- fixed String
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none
Get
Scep Profile Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic
Get
Scep Profile Scep Challenge Dynamic - Dynamic
- fixed string
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none
Get
Scep Profile Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic
Get
Scep Profile Scep Challenge Dynamic - Dynamic
- fixed str
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none
Get
Scep Profile Scep Challenge None No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
- dynamic Property Map
- Dynamic
- fixed String
Challenge to use for SCEP server on mobile clients
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.- none Property Map
No OTP
ℹ️ Note: You must specify exactly one of
dynamic,fixed, andnone.
GetScepProfileScepChallengeDynamic
- Otp
Server stringUrl - OTP server URL
- Password string
- OTP password
- Username string
- OTP username
- Otp
Server stringUrl - OTP server URL
- Password string
- OTP password
- Username string
- OTP username
- otp
Server StringUrl - OTP server URL
- password String
- OTP password
- username String
- OTP username
- otp
Server stringUrl - OTP server URL
- password string
- OTP password
- username string
- OTP username
- otp_
server_ strurl - OTP server URL
- password str
- OTP password
- username str
- OTP username
- otp
Server StringUrl - 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
scmTerraform Provider.
