AuthenticationProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const profileData = scm.getAuthenticationProfile({
id: "de491856-1987-4b53-a3f7-e4f4a52067e3",
});
export const scmAuthenticationProfile = profileData.then(profileData => profileData.id);
export const fetchedProfile = profileData;
import pulumi
import pulumi_scm as scm
profile_data = scm.get_authentication_profile(id="de491856-1987-4b53-a3f7-e4f4a52067e3")
pulumi.export("scmAuthenticationProfile", profile_data.id)
pulumi.export("fetchedProfile", profile_data)
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 {
profileData, err := scm.LookupAuthenticationProfile(ctx, &scm.LookupAuthenticationProfileArgs{
Id: "de491856-1987-4b53-a3f7-e4f4a52067e3",
}, nil)
if err != nil {
return err
}
ctx.Export("scmAuthenticationProfile", profileData.Id)
ctx.Export("fetchedProfile", profileData)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var profileData = Scm.GetAuthenticationProfile.Invoke(new()
{
Id = "de491856-1987-4b53-a3f7-e4f4a52067e3",
});
return new Dictionary<string, object?>
{
["scmAuthenticationProfile"] = profileData.Apply(getAuthenticationProfileResult => getAuthenticationProfileResult.Id),
["fetchedProfile"] = profileData,
};
});
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.GetAuthenticationProfileArgs;
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 profileData = ScmFunctions.getAuthenticationProfile(GetAuthenticationProfileArgs.builder()
.id("de491856-1987-4b53-a3f7-e4f4a52067e3")
.build());
ctx.export("scmAuthenticationProfile", profileData.id());
ctx.export("fetchedProfile", profileData);
}
}
variables:
profileData:
fn::invoke:
function: scm:getAuthenticationProfile
arguments:
id: de491856-1987-4b53-a3f7-e4f4a52067e3
outputs:
scmAuthenticationProfile: ${profileData.id}
fetchedProfile: ${profileData}
Using getAuthenticationProfile
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 getAuthenticationProfile(args: GetAuthenticationProfileArgs, opts?: InvokeOptions): Promise<GetAuthenticationProfileResult>
function getAuthenticationProfileOutput(args: GetAuthenticationProfileOutputArgs, opts?: InvokeOptions): Output<GetAuthenticationProfileResult>def get_authentication_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuthenticationProfileResult
def get_authentication_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticationProfileResult]func LookupAuthenticationProfile(ctx *Context, args *LookupAuthenticationProfileArgs, opts ...InvokeOption) (*LookupAuthenticationProfileResult, error)
func LookupAuthenticationProfileOutput(ctx *Context, args *LookupAuthenticationProfileOutputArgs, opts ...InvokeOption) LookupAuthenticationProfileResultOutput> Note: This function is named LookupAuthenticationProfile in the Go SDK.
public static class GetAuthenticationProfile
{
public static Task<GetAuthenticationProfileResult> InvokeAsync(GetAuthenticationProfileArgs args, InvokeOptions? opts = null)
public static Output<GetAuthenticationProfileResult> Invoke(GetAuthenticationProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuthenticationProfileResult> getAuthenticationProfile(GetAuthenticationProfileArgs args, InvokeOptions options)
public static Output<GetAuthenticationProfileResult> getAuthenticationProfile(GetAuthenticationProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getAuthenticationProfile:getAuthenticationProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getAuthenticationProfile Result
The following output properties are available:
- Allow
Lists List<string> - The allow_list of the authentication profile
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the authentication profile
- Lockout
Get
Authentication Profile Lockout - Method
Get
Authentication Profile Method - Multi
Factor GetAuth Authentication Profile Multi Factor Auth - Name string
- The name of the authentication profile
- Single
Sign GetOn Authentication Profile Single Sign On - Snippet string
- Tfid string
- User
Domain string - Username
Modifier string
- Allow
Lists []string - The allow_list of the authentication profile
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the authentication profile
- Lockout
Get
Authentication Profile Lockout - Method
Get
Authentication Profile Method - Multi
Factor GetAuth Authentication Profile Multi Factor Auth - Name string
- The name of the authentication profile
- Single
Sign GetOn Authentication Profile Single Sign On - Snippet string
- Tfid string
- User
Domain string - Username
Modifier string
- allow
Lists List<String> - The allow_list of the authentication profile
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the authentication profile
- lockout
Get
Authentication Profile Lockout - method
Get
Authentication Profile Method - multi
Factor GetAuth Authentication Profile Multi Factor Auth - name String
- The name of the authentication profile
- single
Sign GetOn Authentication Profile Single Sign On - snippet String
- tfid String
- user
Domain String - username
Modifier String
- allow
Lists string[] - The allow_list of the authentication profile
- device string
- The device in which the resource is defined
- folder string
- id string
- The UUID of the authentication profile
- lockout
Get
Authentication Profile Lockout - method
Get
Authentication Profile Method - multi
Factor GetAuth Authentication Profile Multi Factor Auth - name string
- The name of the authentication profile
- single
Sign GetOn Authentication Profile Single Sign On - snippet string
- tfid string
- user
Domain string - username
Modifier string
- allow_
lists Sequence[str] - The allow_list of the authentication profile
- device str
- The device in which the resource is defined
- folder str
- id str
- The UUID of the authentication profile
- lockout
Get
Authentication Profile Lockout - method
Get
Authentication Profile Method - multi_
factor_ Getauth Authentication Profile Multi Factor Auth - name str
- The name of the authentication profile
- single_
sign_ Geton Authentication Profile Single Sign On - snippet str
- tfid str
- user_
domain str - username_
modifier str
- allow
Lists List<String> - The allow_list of the authentication profile
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the authentication profile
- lockout Property Map
- method Property Map
- multi
Factor Property MapAuth - name String
- The name of the authentication profile
- single
Sign Property MapOn - snippet String
- tfid String
- user
Domain String - username
Modifier String
Supporting Types
GetAuthenticationProfileLockout
- Failed
Attempts int - Lockout object - failed_attempts of authentication profile
- Lockout
Time int - Lockout object - lockout-time of authentication profile
- Failed
Attempts int - Lockout object - failed_attempts of authentication profile
- Lockout
Time int - Lockout object - lockout-time of authentication profile
- failed
Attempts Integer - Lockout object - failed_attempts of authentication profile
- lockout
Time Integer - Lockout object - lockout-time of authentication profile
- failed
Attempts number - Lockout object - failed_attempts of authentication profile
- lockout
Time number - Lockout object - lockout-time of authentication profile
- failed_
attempts int - Lockout object - failed_attempts of authentication profile
- lockout_
time int - Lockout object - lockout-time of authentication profile
- failed
Attempts Number - Lockout object - failed_attempts of authentication profile
- lockout
Time Number - Lockout object - lockout-time of authentication profile
GetAuthenticationProfileMethod
- Cloud
Get
Authentication Profile Method Cloud - Cloud
- Kerberos
Get
Authentication Profile Method Kerberos Kerberos
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Ldap
Get
Authentication Profile Method Ldap Ldap
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Local
Database GetAuthentication Profile Method Local Database Local database
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Radius
Get
Authentication Profile Method Radius Radius
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Saml
Idp GetAuthentication Profile Method Saml Idp Saml idp
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Tacplus
Get
Authentication Profile Method Tacplus Tacplus
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.
- Cloud
Get
Authentication Profile Method Cloud - Cloud
- Kerberos
Get
Authentication Profile Method Kerberos Kerberos
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Ldap
Get
Authentication Profile Method Ldap Ldap
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Local
Database GetAuthentication Profile Method Local Database Local database
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Radius
Get
Authentication Profile Method Radius Radius
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Saml
Idp GetAuthentication Profile Method Saml Idp Saml idp
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- Tacplus
Get
Authentication Profile Method Tacplus Tacplus
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.
- cloud
Get
Authentication Profile Method Cloud - Cloud
- kerberos
Get
Authentication Profile Method Kerberos Kerberos
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- ldap
Get
Authentication Profile Method Ldap Ldap
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- local
Database GetAuthentication Profile Method Local Database Local database
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- radius
Get
Authentication Profile Method Radius Radius
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- saml
Idp GetAuthentication Profile Method Saml Idp Saml idp
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- tacplus
Get
Authentication Profile Method Tacplus Tacplus
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.
- cloud
Get
Authentication Profile Method Cloud - Cloud
- kerberos
Get
Authentication Profile Method Kerberos Kerberos
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- ldap
Get
Authentication Profile Method Ldap Ldap
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- local
Database GetAuthentication Profile Method Local Database Local database
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- radius
Get
Authentication Profile Method Radius Radius
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- saml
Idp GetAuthentication Profile Method Saml Idp Saml idp
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- tacplus
Get
Authentication Profile Method Tacplus Tacplus
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.
- cloud
Get
Authentication Profile Method Cloud - Cloud
- kerberos
Get
Authentication Profile Method Kerberos Kerberos
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- ldap
Get
Authentication Profile Method Ldap Ldap
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- local_
database GetAuthentication Profile Method Local Database Local database
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- radius
Get
Authentication Profile Method Radius Radius
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- saml_
idp GetAuthentication Profile Method Saml Idp Saml idp
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- tacplus
Get
Authentication Profile Method Tacplus Tacplus
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.
- cloud Property Map
- Cloud
- kerberos Property Map
Kerberos
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- ldap Property Map
Ldap
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- local
Database Property Map Local database
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- radius Property Map
Radius
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- saml
Idp Property Map Saml idp
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.- tacplus Property Map
Tacplus
ℹ️ Note: You must specify exactly one of
cloud,kerberos,ldap,local_database,radius,saml_idp, andtacplus.
GetAuthenticationProfileMethodCloud
- Profile
Name string - The tenant profile name
- Profile
Name string - The tenant profile name
- profile
Name String - The tenant profile name
- profile
Name string - The tenant profile name
- profile_
name str - The tenant profile name
- profile
Name String - The tenant profile name
GetAuthenticationProfileMethodKerberos
- Realm string
- method kerberos object realm of authentication profile
- Server
Profile string - method kerberos object server profile of authentication profile
- Realm string
- method kerberos object realm of authentication profile
- Server
Profile string - method kerberos object server profile of authentication profile
- realm String
- method kerberos object realm of authentication profile
- server
Profile String - method kerberos object server profile of authentication profile
- realm string
- method kerberos object realm of authentication profile
- server
Profile string - method kerberos object server profile of authentication profile
- realm str
- method kerberos object realm of authentication profile
- server_
profile str - method kerberos object server profile of authentication profile
- realm String
- method kerberos object realm of authentication profile
- server
Profile String - method kerberos object server profile of authentication profile
GetAuthenticationProfileMethodLdap
- Login
Attribute string - Login attribute
- Passwd
Exp intDays - Passwd exp days
- Server
Profile string - Server profile
- Login
Attribute string - Login attribute
- Passwd
Exp intDays - Passwd exp days
- Server
Profile string - Server profile
- login
Attribute String - Login attribute
- passwd
Exp IntegerDays - Passwd exp days
- server
Profile String - Server profile
- login
Attribute string - Login attribute
- passwd
Exp numberDays - Passwd exp days
- server
Profile string - Server profile
- login_
attribute str - Login attribute
- passwd_
exp_ intdays - Passwd exp days
- server_
profile str - Server profile
- login
Attribute String - Login attribute
- passwd
Exp NumberDays - Passwd exp days
- server
Profile String - Server profile
GetAuthenticationProfileMethodRadius
- Checkgroup bool
- method radius object check group of authentication profile
- Server
Profile string - method radius object server profile of authentication profile
- Checkgroup bool
- method radius object check group of authentication profile
- Server
Profile string - method radius object server profile of authentication profile
- checkgroup Boolean
- method radius object check group of authentication profile
- server
Profile String - method radius object server profile of authentication profile
- checkgroup boolean
- method radius object check group of authentication profile
- server
Profile string - method radius object server profile of authentication profile
- checkgroup bool
- method radius object check group of authentication profile
- server_
profile str - method radius object server profile of authentication profile
- checkgroup Boolean
- method radius object check group of authentication profile
- server
Profile String - method radius object server profile of authentication profile
GetAuthenticationProfileMethodSamlIdp
- Attribute
Name stringUsergroup - Attribute name usergroup
- Attribute
Name stringUsername - Attribute name username
- Certificate
Profile string - method object saml idp certificate profile of authentication profile
- Enable
Single boolLogout - Enable single logout
- Request
Signing stringCertificate - Request signing certificate
- Server
Profile string - method object saml idp server profile of authentication profile
- Attribute
Name stringUsergroup - Attribute name usergroup
- Attribute
Name stringUsername - Attribute name username
- Certificate
Profile string - method object saml idp certificate profile of authentication profile
- Enable
Single boolLogout - Enable single logout
- Request
Signing stringCertificate - Request signing certificate
- Server
Profile string - method object saml idp server profile of authentication profile
- attribute
Name StringUsergroup - Attribute name usergroup
- attribute
Name StringUsername - Attribute name username
- certificate
Profile String - method object saml idp certificate profile of authentication profile
- enable
Single BooleanLogout - Enable single logout
- request
Signing StringCertificate - Request signing certificate
- server
Profile String - method object saml idp server profile of authentication profile
- attribute
Name stringUsergroup - Attribute name usergroup
- attribute
Name stringUsername - Attribute name username
- certificate
Profile string - method object saml idp certificate profile of authentication profile
- enable
Single booleanLogout - Enable single logout
- request
Signing stringCertificate - Request signing certificate
- server
Profile string - method object saml idp server profile of authentication profile
- attribute_
name_ strusergroup - Attribute name usergroup
- attribute_
name_ strusername - Attribute name username
- certificate_
profile str - method object saml idp certificate profile of authentication profile
- enable_
single_ boollogout - Enable single logout
- request_
signing_ strcertificate - Request signing certificate
- server_
profile str - method object saml idp server profile of authentication profile
- attribute
Name StringUsergroup - Attribute name usergroup
- attribute
Name StringUsername - Attribute name username
- certificate
Profile String - method object saml idp certificate profile of authentication profile
- enable
Single BooleanLogout - Enable single logout
- request
Signing StringCertificate - Request signing certificate
- server
Profile String - method object saml idp server profile of authentication profile
GetAuthenticationProfileMethodTacplus
- Checkgroup bool
- method tacplus object check group of authentication profile
- Server
Profile string - method tacplus object check group of authentication profile
- Checkgroup bool
- method tacplus object check group of authentication profile
- Server
Profile string - method tacplus object check group of authentication profile
- checkgroup Boolean
- method tacplus object check group of authentication profile
- server
Profile String - method tacplus object check group of authentication profile
- checkgroup boolean
- method tacplus object check group of authentication profile
- server
Profile string - method tacplus object check group of authentication profile
- checkgroup bool
- method tacplus object check group of authentication profile
- server_
profile str - method tacplus object check group of authentication profile
- checkgroup Boolean
- method tacplus object check group of authentication profile
- server
Profile String - method tacplus object check group of authentication profile
GetAuthenticationProfileMultiFactorAuth
- factors Sequence[str]
- Factors
- mfa_
enable bool - Mfa enable
GetAuthenticationProfileSingleSignOn
- Kerberos
Keytab string - Kerberos keytab
- Realm string
- Realm
- Kerberos
Keytab string - Kerberos keytab
- Realm string
- Realm
- kerberos
Keytab String - Kerberos keytab
- realm String
- Realm
- kerberos
Keytab string - Kerberos keytab
- realm string
- Realm
- kerberos_
keytab str - Kerberos keytab
- realm str
- Realm
- kerberos
Keytab String - Kerberos keytab
- realm String
- Realm
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
