Class Mfa
Creates an MFA Policy.
This resource allows you to create and configure an MFA Policy.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Policy.Mfa("example", new Okta.Policy.MfaArgs
{
Description = "Example",
GroupsIncludeds =
{
data.Okta_group.Everyone.Id,
},
OktaOtp = new Okta.Policy.Inputs.MfaOktaOtpArgs
{
Enroll = "REQUIRED",
},
Status = "ACTIVE",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Policy
Assembly: Pulumi.Okta.dll
Syntax
public class Mfa : CustomResource
Constructors
View SourceMfa(String, MfaArgs, CustomResourceOptions)
Create a Mfa resource with the given unique name, arguments, and options.
Declaration
public Mfa(string name, MfaArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| MfaArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Policy Description.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Duo
DUO MFA policy settings.
Declaration
public Output<MfaDuo> Duo { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaDuo> |
FidoU2f
Fido U2F MFA policy settings.
Declaration
public Output<MfaFidoU2f> FidoU2f { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaFidoU2f> |
FidoWebauthn
Fido Web Authn MFA policy settings.
Declaration
public Output<MfaFidoWebauthn> FidoWebauthn { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaFidoWebauthn> |
GoogleOtp
Google OTP MFA policy settings.
Declaration
public Output<MfaGoogleOtp> GoogleOtp { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaGoogleOtp> |
GroupsIncludeds
List of Group IDs to Include.
Declaration
public Output<ImmutableArray<string>> GroupsIncludeds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Name
Policy Name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OktaCall
Okta Call MFA policy settings.
Declaration
public Output<MfaOktaCall> OktaCall { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaOktaCall> |
OktaOtp
Okta OTP MFA policy settings.
Declaration
public Output<MfaOktaOtp> OktaOtp { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaOktaOtp> |
OktaPassword
Okta Password MFA policy settings.
Declaration
public Output<MfaOktaPassword> OktaPassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaOktaPassword> |
OktaPush
Okta Push MFA policy settings.
Declaration
public Output<MfaOktaPush> OktaPush { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaOktaPush> |
OktaQuestion
Okta Question MFA policy settings.
Declaration
public Output<MfaOktaQuestion> OktaQuestion { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaOktaQuestion> |
OktaSms
Okta SMS MFA policy settings.
Declaration
public Output<MfaOktaSms> OktaSms { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaOktaSms> |
Priority
Priority of the policy.
Declaration
public Output<int?> Priority { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
RsaToken
RSA Token MFA policy settings.
Declaration
public Output<MfaRsaToken> RsaToken { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaRsaToken> |
Status
Policy Status: "ACTIVE" or "INACTIVE".
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SymantecVip
Symantec VIP MFA policy settings.
Declaration
public Output<MfaSymantecVip> SymantecVip { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaSymantecVip> |
YubikeyToken
Yubikey Token MFA policy settings.
Declaration
public Output<MfaYubikeyToken> YubikeyToken { get; }
Property Value
| Type | Description |
|---|---|
| Output<MfaYubikeyToken> |
Methods
View SourceGet(String, Input<String>, MfaState, CustomResourceOptions)
Get an existing Mfa resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Mfa Get(string name, Input<string> id, MfaState 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. |
| MfaState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Mfa |