Show / Hide Table of Contents

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Mfa
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.Policy
Assembly: Pulumi.Okta.dll
Syntax
public class Mfa : CustomResource

Constructors

View Source

Mfa(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 Source

Description

Policy Description.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Duo

DUO MFA policy settings.

Declaration
public Output<MfaDuo> Duo { get; }
Property Value
Type Description
Output<MfaDuo>
View Source

FidoU2f

Fido U2F MFA policy settings.

Declaration
public Output<MfaFidoU2f> FidoU2f { get; }
Property Value
Type Description
Output<MfaFidoU2f>
View Source

FidoWebauthn

Fido Web Authn MFA policy settings.

Declaration
public Output<MfaFidoWebauthn> FidoWebauthn { get; }
Property Value
Type Description
Output<MfaFidoWebauthn>
View Source

GoogleOtp

Google OTP MFA policy settings.

Declaration
public Output<MfaGoogleOtp> GoogleOtp { get; }
Property Value
Type Description
Output<MfaGoogleOtp>
View Source

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>>
View Source

Name

Policy Name.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OktaCall

Okta Call MFA policy settings.

Declaration
public Output<MfaOktaCall> OktaCall { get; }
Property Value
Type Description
Output<MfaOktaCall>
View Source

OktaOtp

Okta OTP MFA policy settings.

Declaration
public Output<MfaOktaOtp> OktaOtp { get; }
Property Value
Type Description
Output<MfaOktaOtp>
View Source

OktaPassword

Okta Password MFA policy settings.

Declaration
public Output<MfaOktaPassword> OktaPassword { get; }
Property Value
Type Description
Output<MfaOktaPassword>
View Source

OktaPush

Okta Push MFA policy settings.

Declaration
public Output<MfaOktaPush> OktaPush { get; }
Property Value
Type Description
Output<MfaOktaPush>
View Source

OktaQuestion

Okta Question MFA policy settings.

Declaration
public Output<MfaOktaQuestion> OktaQuestion { get; }
Property Value
Type Description
Output<MfaOktaQuestion>
View Source

OktaSms

Okta SMS MFA policy settings.

Declaration
public Output<MfaOktaSms> OktaSms { get; }
Property Value
Type Description
Output<MfaOktaSms>
View Source

Priority

Priority of the policy.

Declaration
public Output<int?> Priority { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

RsaToken

RSA Token MFA policy settings.

Declaration
public Output<MfaRsaToken> RsaToken { get; }
Property Value
Type Description
Output<MfaRsaToken>
View Source

Status

Policy Status: &quot;ACTIVE&quot; or &quot;INACTIVE&quot;.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

SymantecVip

Symantec VIP MFA policy settings.

Declaration
public Output<MfaSymantecVip> SymantecVip { get; }
Property Value
Type Description
Output<MfaSymantecVip>
View Source

YubikeyToken

Yubikey Token MFA policy settings.

Declaration
public Output<MfaYubikeyToken> YubikeyToken { get; }
Property Value
Type Description
Output<MfaYubikeyToken>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.