PolicyMfaDefault

Configures default MFA Policy.

This resource allows you to configure default MFA Policy.

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
    public MyStack()
    {
        var @default = new Okta.PolicyMfaDefault("default", new Okta.PolicyMfaDefaultArgs
        {
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v3/go/okta"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewPolicyMfaDefault(ctx, "_default", nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_okta as okta

default = okta.PolicyMfaDefault("default")
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const defaultPolicyMfaDefault = new okta.PolicyMfaDefault("default", {});

Create a PolicyMfaDefault Resource

new PolicyMfaDefault(name: string, args?: PolicyMfaDefaultArgs, opts?: CustomResourceOptions);
@overload
def PolicyMfaDefault(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     duo: Optional[Mapping[str, str]] = None,
                     fido_u2f: Optional[Mapping[str, str]] = None,
                     fido_webauthn: Optional[Mapping[str, str]] = None,
                     google_otp: Optional[Mapping[str, str]] = None,
                     hotp: Optional[Mapping[str, str]] = None,
                     okta_call: Optional[Mapping[str, str]] = None,
                     okta_email: Optional[Mapping[str, str]] = None,
                     okta_otp: Optional[Mapping[str, str]] = None,
                     okta_password: Optional[Mapping[str, str]] = None,
                     okta_push: Optional[Mapping[str, str]] = None,
                     okta_question: Optional[Mapping[str, str]] = None,
                     okta_sms: Optional[Mapping[str, str]] = None,
                     rsa_token: Optional[Mapping[str, str]] = None,
                     symantec_vip: Optional[Mapping[str, str]] = None,
                     yubikey_token: Optional[Mapping[str, str]] = None)
@overload
def PolicyMfaDefault(resource_name: str,
                     args: Optional[PolicyMfaDefaultArgs] = None,
                     opts: Optional[ResourceOptions] = None)
func NewPolicyMfaDefault(ctx *Context, name string, args *PolicyMfaDefaultArgs, opts ...ResourceOption) (*PolicyMfaDefault, error)
public PolicyMfaDefault(string name, PolicyMfaDefaultArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PolicyMfaDefaultArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PolicyMfaDefaultArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PolicyMfaDefaultArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PolicyMfaDefaultArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

PolicyMfaDefault Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The PolicyMfaDefault resource accepts the following input properties:

Duo Dictionary<string, string>
DUO MFA policy settings.
FidoU2f Dictionary<string, string>
Fido U2F MFA policy settings.
FidoWebauthn Dictionary<string, string>
Fido Web Authn MFA policy settings.
GoogleOtp Dictionary<string, string>
Google OTP MFA policy settings.
Hotp Dictionary<string, string>
HMAC-based One-Time Password MFA policy settings.
OktaCall Dictionary<string, string>
Okta Call MFA policy settings.
OktaEmail Dictionary<string, string>
Okta Email MFA policy settings.
OktaOtp Dictionary<string, string>
Okta OTP MFA policy settings.
OktaPassword Dictionary<string, string>
Okta Password MFA policy settings.
OktaPush Dictionary<string, string>
Okta Push MFA policy settings.
OktaQuestion Dictionary<string, string>
Okta Question MFA policy settings.
OktaSms Dictionary<string, string>
Okta SMS MFA policy settings.
RsaToken Dictionary<string, string>
RSA Token MFA policy settings.
SymantecVip Dictionary<string, string>
Symantec VIP MFA policy settings.
YubikeyToken Dictionary<string, string>
Yubikey Token MFA policy settings.
Duo map[string]string
DUO MFA policy settings.
FidoU2f map[string]string
Fido U2F MFA policy settings.
FidoWebauthn map[string]string
Fido Web Authn MFA policy settings.
GoogleOtp map[string]string
Google OTP MFA policy settings.
Hotp map[string]string
HMAC-based One-Time Password MFA policy settings.
OktaCall map[string]string
Okta Call MFA policy settings.
OktaEmail map[string]string
Okta Email MFA policy settings.
OktaOtp map[string]string
Okta OTP MFA policy settings.
OktaPassword map[string]string
Okta Password MFA policy settings.
OktaPush map[string]string
Okta Push MFA policy settings.
OktaQuestion map[string]string
Okta Question MFA policy settings.
OktaSms map[string]string
Okta SMS MFA policy settings.
RsaToken map[string]string
RSA Token MFA policy settings.
SymantecVip map[string]string
Symantec VIP MFA policy settings.
YubikeyToken map[string]string
Yubikey Token MFA policy settings.
duo {[key: string]: string}
DUO MFA policy settings.
fidoU2f {[key: string]: string}
Fido U2F MFA policy settings.
fidoWebauthn {[key: string]: string}
Fido Web Authn MFA policy settings.
googleOtp {[key: string]: string}
Google OTP MFA policy settings.
hotp {[key: string]: string}
HMAC-based One-Time Password MFA policy settings.
oktaCall {[key: string]: string}
Okta Call MFA policy settings.
oktaEmail {[key: string]: string}
Okta Email MFA policy settings.
oktaOtp {[key: string]: string}
Okta OTP MFA policy settings.
oktaPassword {[key: string]: string}
Okta Password MFA policy settings.
oktaPush {[key: string]: string}
Okta Push MFA policy settings.
oktaQuestion {[key: string]: string}
Okta Question MFA policy settings.
oktaSms {[key: string]: string}
Okta SMS MFA policy settings.
rsaToken {[key: string]: string}
RSA Token MFA policy settings.
symantecVip {[key: string]: string}
Symantec VIP MFA policy settings.
yubikeyToken {[key: string]: string}
Yubikey Token MFA policy settings.
duo Mapping[str, str]
DUO MFA policy settings.
fido_u2f Mapping[str, str]
Fido U2F MFA policy settings.
fido_webauthn Mapping[str, str]
Fido Web Authn MFA policy settings.
google_otp Mapping[str, str]
Google OTP MFA policy settings.
hotp Mapping[str, str]
HMAC-based One-Time Password MFA policy settings.
okta_call Mapping[str, str]
Okta Call MFA policy settings.
okta_email Mapping[str, str]
Okta Email MFA policy settings.
okta_otp Mapping[str, str]
Okta OTP MFA policy settings.
okta_password Mapping[str, str]
Okta Password MFA policy settings.
okta_push Mapping[str, str]
Okta Push MFA policy settings.
okta_question Mapping[str, str]
Okta Question MFA policy settings.
okta_sms Mapping[str, str]
Okta SMS MFA policy settings.
rsa_token Mapping[str, str]
RSA Token MFA policy settings.
symantec_vip Mapping[str, str]
Symantec VIP MFA policy settings.
yubikey_token Mapping[str, str]
Yubikey Token MFA policy settings.

Outputs

All input properties are implicitly available as output properties. Additionally, the PolicyMfaDefault resource produces the following output properties:

DefaultIncludedGroupId string
ID of the default Okta group.
Description string
Default policy description.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Default policy name.
Priority int
Default policy priority.
Status string
Default policy status.
DefaultIncludedGroupId string
ID of the default Okta group.
Description string
Default policy description.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Default policy name.
Priority int
Default policy priority.
Status string
Default policy status.
defaultIncludedGroupId string
ID of the default Okta group.
description string
Default policy description.
id string
The provider-assigned unique ID for this managed resource.
name string
Default policy name.
priority number
Default policy priority.
status string
Default policy status.
default_included_group_id str
ID of the default Okta group.
description str
Default policy description.
id str
The provider-assigned unique ID for this managed resource.
name str
Default policy name.
priority int
Default policy priority.
status str
Default policy status.

Look up an Existing PolicyMfaDefault Resource

Get an existing PolicyMfaDefault resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PolicyMfaDefaultState, opts?: CustomResourceOptions): PolicyMfaDefault
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_included_group_id: Optional[str] = None,
        description: Optional[str] = None,
        duo: Optional[Mapping[str, str]] = None,
        fido_u2f: Optional[Mapping[str, str]] = None,
        fido_webauthn: Optional[Mapping[str, str]] = None,
        google_otp: Optional[Mapping[str, str]] = None,
        hotp: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        okta_call: Optional[Mapping[str, str]] = None,
        okta_email: Optional[Mapping[str, str]] = None,
        okta_otp: Optional[Mapping[str, str]] = None,
        okta_password: Optional[Mapping[str, str]] = None,
        okta_push: Optional[Mapping[str, str]] = None,
        okta_question: Optional[Mapping[str, str]] = None,
        okta_sms: Optional[Mapping[str, str]] = None,
        priority: Optional[int] = None,
        rsa_token: Optional[Mapping[str, str]] = None,
        status: Optional[str] = None,
        symantec_vip: Optional[Mapping[str, str]] = None,
        yubikey_token: Optional[Mapping[str, str]] = None) -> PolicyMfaDefault
func GetPolicyMfaDefault(ctx *Context, name string, id IDInput, state *PolicyMfaDefaultState, opts ...ResourceOption) (*PolicyMfaDefault, error)
public static PolicyMfaDefault Get(string name, Input<string> id, PolicyMfaDefaultState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DefaultIncludedGroupId string
ID of the default Okta group.
Description string
Default policy description.
Duo Dictionary<string, string>
DUO MFA policy settings.
FidoU2f Dictionary<string, string>
Fido U2F MFA policy settings.
FidoWebauthn Dictionary<string, string>
Fido Web Authn MFA policy settings.
GoogleOtp Dictionary<string, string>
Google OTP MFA policy settings.
Hotp Dictionary<string, string>
HMAC-based One-Time Password MFA policy settings.
Name string
Default policy name.
OktaCall Dictionary<string, string>
Okta Call MFA policy settings.
OktaEmail Dictionary<string, string>
Okta Email MFA policy settings.
OktaOtp Dictionary<string, string>
Okta OTP MFA policy settings.
OktaPassword Dictionary<string, string>
Okta Password MFA policy settings.
OktaPush Dictionary<string, string>
Okta Push MFA policy settings.
OktaQuestion Dictionary<string, string>
Okta Question MFA policy settings.
OktaSms Dictionary<string, string>
Okta SMS MFA policy settings.
Priority int
Default policy priority.
RsaToken Dictionary<string, string>
RSA Token MFA policy settings.
Status string
Default policy status.
SymantecVip Dictionary<string, string>
Symantec VIP MFA policy settings.
YubikeyToken Dictionary<string, string>
Yubikey Token MFA policy settings.
DefaultIncludedGroupId string
ID of the default Okta group.
Description string
Default policy description.
Duo map[string]string
DUO MFA policy settings.
FidoU2f map[string]string
Fido U2F MFA policy settings.
FidoWebauthn map[string]string
Fido Web Authn MFA policy settings.
GoogleOtp map[string]string
Google OTP MFA policy settings.
Hotp map[string]string
HMAC-based One-Time Password MFA policy settings.
Name string
Default policy name.
OktaCall map[string]string
Okta Call MFA policy settings.
OktaEmail map[string]string
Okta Email MFA policy settings.
OktaOtp map[string]string
Okta OTP MFA policy settings.
OktaPassword map[string]string
Okta Password MFA policy settings.
OktaPush map[string]string
Okta Push MFA policy settings.
OktaQuestion map[string]string
Okta Question MFA policy settings.
OktaSms map[string]string
Okta SMS MFA policy settings.
Priority int
Default policy priority.
RsaToken map[string]string
RSA Token MFA policy settings.
Status string
Default policy status.
SymantecVip map[string]string
Symantec VIP MFA policy settings.
YubikeyToken map[string]string
Yubikey Token MFA policy settings.
defaultIncludedGroupId string
ID of the default Okta group.
description string
Default policy description.
duo {[key: string]: string}
DUO MFA policy settings.
fidoU2f {[key: string]: string}
Fido U2F MFA policy settings.
fidoWebauthn {[key: string]: string}
Fido Web Authn MFA policy settings.
googleOtp {[key: string]: string}
Google OTP MFA policy settings.
hotp {[key: string]: string}
HMAC-based One-Time Password MFA policy settings.
name string
Default policy name.
oktaCall {[key: string]: string}
Okta Call MFA policy settings.
oktaEmail {[key: string]: string}
Okta Email MFA policy settings.
oktaOtp {[key: string]: string}
Okta OTP MFA policy settings.
oktaPassword {[key: string]: string}
Okta Password MFA policy settings.
oktaPush {[key: string]: string}
Okta Push MFA policy settings.
oktaQuestion {[key: string]: string}
Okta Question MFA policy settings.
oktaSms {[key: string]: string}
Okta SMS MFA policy settings.
priority number
Default policy priority.
rsaToken {[key: string]: string}
RSA Token MFA policy settings.
status string
Default policy status.
symantecVip {[key: string]: string}
Symantec VIP MFA policy settings.
yubikeyToken {[key: string]: string}
Yubikey Token MFA policy settings.
default_included_group_id str
ID of the default Okta group.
description str
Default policy description.
duo Mapping[str, str]
DUO MFA policy settings.
fido_u2f Mapping[str, str]
Fido U2F MFA policy settings.
fido_webauthn Mapping[str, str]
Fido Web Authn MFA policy settings.
google_otp Mapping[str, str]
Google OTP MFA policy settings.
hotp Mapping[str, str]
HMAC-based One-Time Password MFA policy settings.
name str
Default policy name.
okta_call Mapping[str, str]
Okta Call MFA policy settings.
okta_email Mapping[str, str]
Okta Email MFA policy settings.
okta_otp Mapping[str, str]
Okta OTP MFA policy settings.
okta_password Mapping[str, str]
Okta Password MFA policy settings.
okta_push Mapping[str, str]
Okta Push MFA policy settings.
okta_question Mapping[str, str]
Okta Question MFA policy settings.
okta_sms Mapping[str, str]
Okta SMS MFA policy settings.
priority int
Default policy priority.
rsa_token Mapping[str, str]
RSA Token MFA policy settings.
status str
Default policy status.
symantec_vip Mapping[str, str]
Symantec VIP MFA policy settings.
yubikey_token Mapping[str, str]
Yubikey Token MFA policy settings.

Import

Default MFA Policy can be imported without providing Okta ID.

 $ pulumi import okta:index/policyMfaDefault:PolicyMfaDefault example .

Package Details

Repository
https://github.com/pulumi/pulumi-okta
License
Apache-2.0
Notes
This Pulumi package is based on the okta Terraform Provider.