Class Oidc
Creates an OIDC Identity Provider.
This resource allows you to create and configure an OIDC Identity Provider.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Idp.Oidc("example", new Okta.Idp.OidcArgs
{
AcsBinding = "HTTP-POST",
AcsType = "INSTANCE",
AuthorizationBinding = "HTTP-REDIRECT",
AuthorizationUrl = "https://idp.example.com/authorize",
ClientId = "efg456",
ClientSecret = "efg456",
IssuerUrl = "https://id.example.com",
JwksBinding = "HTTP-REDIRECT",
JwksUrl = "https://idp.example.com/keys",
Scopes =
{
"openid",
},
TokenBinding = "HTTP-POST",
TokenUrl = "https://idp.example.com/token",
UserInfoBinding = "HTTP-REDIRECT",
UserInfoUrl = "https://idp.example.com/userinfo",
UsernameTemplate = "idpuser.email",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Idp
Assembly: Pulumi.Okta.dll
Syntax
public class Oidc : CustomResource
Constructors
View SourceOidc(String, OidcArgs, CustomResourceOptions)
Create a Oidc resource with the given unique name, arguments, and options.
Declaration
public Oidc(string name, OidcArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OidcArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountLinkAction
Specifies the account linking action for an IdP user.
Declaration
public Output<string> AccountLinkAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AccountLinkGroupIncludes
Group memberships to determine link candidates.
Declaration
public Output<ImmutableArray<string>> AccountLinkGroupIncludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AcsBinding
The method of making an ACS request. It can be set to "HTTP-POST" or "HTTP-REDIRECT".
Declaration
public Output<string> AcsBinding { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AcsType
The type of ACS. Default is "INSTANCE".
Declaration
public Output<string> AcsType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AuthorizationBinding
The method of making an authorization request. It can be set to "HTTP-POST" or "HTTP-REDIRECT".
Declaration
public Output<string> AuthorizationBinding { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AuthorizationUrl
IdP Authorization Server (AS) endpoint to request consent from the user and obtain an authorization code grant.
Declaration
public Output<string> AuthorizationUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientId
Unique identifier issued by AS for the Okta IdP instance.
Declaration
public Output<string> ClientId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientSecret
Client secret issued by AS for the Okta IdP instance.
Declaration
public Output<string> ClientSecret { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeprovisionedAction
Action for a previously deprovisioned IdP user during authentication. Can be "NONE" or "REACTIVATE".
Declaration
public Output<string> DeprovisionedAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupsAction
Provisioning action for IdP user's group memberships. It can be "NONE", "SYNC", "APPEND", or "ASSIGN".
Declaration
public Output<string> GroupsAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupsAssignments
List of Okta Group IDs to add an IdP user as a member with the "ASSIGN" groups_action.
Declaration
public Output<ImmutableArray<string>> GroupsAssignments { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
GroupsAttribute
IdP user profile attribute name (case-insensitive) for an array value that contains group memberships.
Declaration
public Output<string> GroupsAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupsFilters
Whitelist of Okta Group identifiers that are allowed for the "APPEND" or "SYNC" groups_action.
Declaration
public Output<ImmutableArray<string>> GroupsFilters { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
IssuerMode
Indicates whether Okta uses the original Okta org domain URL, or a custom domain URL. It can be "ORG_URL" or "CUSTOM_URL".
Declaration
public Output<string> IssuerMode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IssuerUrl
URI that identifies the issuer.
Declaration
public Output<string> IssuerUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
JwksBinding
The method of making a request for the OIDC JWKS. It can be set to "HTTP-POST" or "HTTP-REDIRECT".
Declaration
public Output<string> JwksBinding { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
JwksUrl
Endpoint where the signer of the keys publishes its keys in a JWK Set.
Declaration
public Output<string> JwksUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MaxClockSkew
Maximum allowable clock-skew when processing messages from the IdP.
Declaration
public Output<int?> MaxClockSkew { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Name
The Application's display name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProfileMaster
Determines if the IdP should act as a source of truth for user profile attributes.
Declaration
public Output<bool?> ProfileMaster { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
ProtocolType
The type of protocol to use. It can be "OIDC" or "OAUTH2".
Declaration
public Output<string> ProtocolType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProvisioningAction
Provisioning action for an IdP user during authentication.
Declaration
public Output<string> ProvisioningAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RequestSignatureAlgorithm
algorithm to use to sign requests
Declaration
public Output<string> RequestSignatureAlgorithm { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RequestSignatureScope
algorithm to use to sign response
Declaration
public Output<string> RequestSignatureScope { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResponseSignatureAlgorithm
algorithm to use to sign requests
Declaration
public Output<string> ResponseSignatureAlgorithm { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResponseSignatureScope
algorithm to use to sign response
Declaration
public Output<string> ResponseSignatureScope { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Scopes
The scopes of the IdP.
Declaration
public Output<ImmutableArray<string>> Scopes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Status
Status of the IdP.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SubjectMatchAttribute
Okta user profile attribute for matching transformed IdP username. Only for matchType "CUSTOM_ATTRIBUTE".
Declaration
public Output<string> SubjectMatchAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SubjectMatchType
Determines the Okta user profile attribute match conditions for account linking and authentication of the transformed IdP username. By default it is set to "USERNAME". It can be set to "USERNAME", "EMAIL", "USERNAME_OR_EMAIL" or "CUSTOM_ATTRIBUTE".
Declaration
public Output<string> SubjectMatchType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SuspendedAction
Action for a previously suspended IdP user during authentication. Can be set to "NONE" or "UNSUSPEND"
Declaration
public Output<string> SuspendedAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TokenBinding
The method of making a token request. It can be set to "HTTP-POST" or "HTTP-REDIRECT".
Declaration
public Output<string> TokenBinding { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TokenUrl
IdP Authorization Server (AS) endpoint to exchange the authorization code grant for an access token.
Declaration
public Output<string> TokenUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Type
Type of OIDC IdP.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserInfoBinding
Declaration
public Output<string> UserInfoBinding { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserInfoUrl
Protected resource endpoint that returns claims about the authenticated user.
Declaration
public Output<string> UserInfoUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UsernameTemplate
Okta EL Expression to generate or transform a unique username for the IdP user.
Declaration
public Output<string> UsernameTemplate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OidcState, CustomResourceOptions)
Get an existing Oidc resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Oidc Get(string name, Input<string> id, OidcState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| OidcState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Oidc |