MfaPolicy

Create a MfaPolicy Resource

def MfaPolicy(resource_name, opts=None, description=None, duo=None, fido_u2f=None, fido_webauthn=None, google_otp=None, groups_includeds=None, name=None, okta_call=None, okta_otp=None, okta_password=None, okta_push=None, okta_question=None, okta_sms=None, priority=None, rsa_token=None, status=None, symantec_vip=None, yubikey_token=None, __props__=None);
func NewMfaPolicy(ctx *Context, name string, args *MfaPolicyArgs, opts ...ResourceOption) (*MfaPolicy, error)
public MfaPolicy(string name, MfaPolicyArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args MfaPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args MfaPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MfaPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

MfaPolicy Resource Properties

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

Inputs

The MfaPolicy resource accepts the following input properties:

Description string

Policy Description

Duo MfaPolicyDuoArgs
FidoU2f MfaPolicyFidoU2fArgs
FidoWebauthn MfaPolicyFidoWebauthnArgs
GoogleOtp MfaPolicyGoogleOtpArgs
GroupsIncludeds List<string>

List of Group IDs to Include

Name string

Policy Name

OktaCall MfaPolicyOktaCallArgs
OktaOtp MfaPolicyOktaOtpArgs
OktaPassword MfaPolicyOktaPasswordArgs
OktaPush MfaPolicyOktaPushArgs
OktaQuestion MfaPolicyOktaQuestionArgs
OktaSms MfaPolicyOktaSmsArgs
Priority int

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

RsaToken MfaPolicyRsaTokenArgs
Status string

Policy Status: ACTIVE or INACTIVE.

SymantecVip MfaPolicySymantecVipArgs
YubikeyToken MfaPolicyYubikeyTokenArgs
Description string

Policy Description

Duo MfaPolicyDuo
FidoU2f MfaPolicyFidoU2f
FidoWebauthn MfaPolicyFidoWebauthn
GoogleOtp MfaPolicyGoogleOtp
GroupsIncludeds []string

List of Group IDs to Include

Name string

Policy Name

OktaCall MfaPolicyOktaCall
OktaOtp MfaPolicyOktaOtp
OktaPassword MfaPolicyOktaPassword
OktaPush MfaPolicyOktaPush
OktaQuestion MfaPolicyOktaQuestion
OktaSms MfaPolicyOktaSms
Priority int

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

RsaToken MfaPolicyRsaToken
Status string

Policy Status: ACTIVE or INACTIVE.

SymantecVip MfaPolicySymantecVip
YubikeyToken MfaPolicyYubikeyToken
description string

Policy Description

duo MfaPolicyDuo
fidoU2f MfaPolicyFidoU2f
fidoWebauthn MfaPolicyFidoWebauthn
googleOtp MfaPolicyGoogleOtp
groupsIncludeds string[]

List of Group IDs to Include

name string

Policy Name

oktaCall MfaPolicyOktaCall
oktaOtp MfaPolicyOktaOtp
oktaPassword MfaPolicyOktaPassword
oktaPush MfaPolicyOktaPush
oktaQuestion MfaPolicyOktaQuestion
oktaSms MfaPolicyOktaSms
priority number

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

rsaToken MfaPolicyRsaToken
status string

Policy Status: ACTIVE or INACTIVE.

symantecVip MfaPolicySymantecVip
yubikeyToken MfaPolicyYubikeyToken
description str

Policy Description

duo Dict[MfaPolicyDuo]
fido_u2f Dict[MfaPolicyFidoU2f]
fido_webauthn Dict[MfaPolicyFidoWebauthn]
google_otp Dict[MfaPolicyGoogleOtp]
groups_includeds List[str]

List of Group IDs to Include

name str

Policy Name

okta_call Dict[MfaPolicyOktaCall]
okta_otp Dict[MfaPolicyOktaOtp]
okta_password Dict[MfaPolicyOktaPassword]
okta_push Dict[MfaPolicyOktaPush]
okta_question Dict[MfaPolicyOktaQuestion]
okta_sms Dict[MfaPolicyOktaSms]
priority float

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

rsa_token Dict[MfaPolicyRsaToken]
status str

Policy Status: ACTIVE or INACTIVE.

symantec_vip Dict[MfaPolicySymantecVip]
yubikey_token Dict[MfaPolicyYubikeyToken]

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing MfaPolicy Resource

Get an existing MfaPolicy 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?: MfaPolicyState, opts?: CustomResourceOptions): MfaPolicy
static get(resource_name, id, opts=None, description=None, duo=None, fido_u2f=None, fido_webauthn=None, google_otp=None, groups_includeds=None, name=None, okta_call=None, okta_otp=None, okta_password=None, okta_push=None, okta_question=None, okta_sms=None, priority=None, rsa_token=None, status=None, symantec_vip=None, yubikey_token=None, __props__=None);
func GetMfaPolicy(ctx *Context, name string, id IDInput, state *MfaPolicyState, opts ...ResourceOption) (*MfaPolicy, error)
public static MfaPolicy Get(string name, Input<string> id, MfaPolicyState? 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:

Description string

Policy Description

Duo MfaPolicyDuoArgs
FidoU2f MfaPolicyFidoU2fArgs
FidoWebauthn MfaPolicyFidoWebauthnArgs
GoogleOtp MfaPolicyGoogleOtpArgs
GroupsIncludeds List<string>

List of Group IDs to Include

Name string

Policy Name

OktaCall MfaPolicyOktaCallArgs
OktaOtp MfaPolicyOktaOtpArgs
OktaPassword MfaPolicyOktaPasswordArgs
OktaPush MfaPolicyOktaPushArgs
OktaQuestion MfaPolicyOktaQuestionArgs
OktaSms MfaPolicyOktaSmsArgs
Priority int

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

RsaToken MfaPolicyRsaTokenArgs
Status string

Policy Status: ACTIVE or INACTIVE.

SymantecVip MfaPolicySymantecVipArgs
YubikeyToken MfaPolicyYubikeyTokenArgs
Description string

Policy Description

Duo MfaPolicyDuo
FidoU2f MfaPolicyFidoU2f
FidoWebauthn MfaPolicyFidoWebauthn
GoogleOtp MfaPolicyGoogleOtp
GroupsIncludeds []string

List of Group IDs to Include

Name string

Policy Name

OktaCall MfaPolicyOktaCall
OktaOtp MfaPolicyOktaOtp
OktaPassword MfaPolicyOktaPassword
OktaPush MfaPolicyOktaPush
OktaQuestion MfaPolicyOktaQuestion
OktaSms MfaPolicyOktaSms
Priority int

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

RsaToken MfaPolicyRsaToken
Status string

Policy Status: ACTIVE or INACTIVE.

SymantecVip MfaPolicySymantecVip
YubikeyToken MfaPolicyYubikeyToken
description string

Policy Description

duo MfaPolicyDuo
fidoU2f MfaPolicyFidoU2f
fidoWebauthn MfaPolicyFidoWebauthn
googleOtp MfaPolicyGoogleOtp
groupsIncludeds string[]

List of Group IDs to Include

name string

Policy Name

oktaCall MfaPolicyOktaCall
oktaOtp MfaPolicyOktaOtp
oktaPassword MfaPolicyOktaPassword
oktaPush MfaPolicyOktaPush
oktaQuestion MfaPolicyOktaQuestion
oktaSms MfaPolicyOktaSms
priority number

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

rsaToken MfaPolicyRsaToken
status string

Policy Status: ACTIVE or INACTIVE.

symantecVip MfaPolicySymantecVip
yubikeyToken MfaPolicyYubikeyToken
description str

Policy Description

duo Dict[MfaPolicyDuo]
fido_u2f Dict[MfaPolicyFidoU2f]
fido_webauthn Dict[MfaPolicyFidoWebauthn]
google_otp Dict[MfaPolicyGoogleOtp]
groups_includeds List[str]

List of Group IDs to Include

name str

Policy Name

okta_call Dict[MfaPolicyOktaCall]
okta_otp Dict[MfaPolicyOktaOtp]
okta_password Dict[MfaPolicyOktaPassword]
okta_push Dict[MfaPolicyOktaPush]
okta_question Dict[MfaPolicyOktaQuestion]
okta_sms Dict[MfaPolicyOktaSms]
priority float

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

rsa_token Dict[MfaPolicyRsaToken]
status str

Policy Status: ACTIVE or INACTIVE.

symantec_vip Dict[MfaPolicySymantecVip]
yubikey_token Dict[MfaPolicyYubikeyToken]

Supporting Types

MfaPolicyDuo

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyFidoU2f

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyFidoWebauthn

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyGoogleOtp

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyOktaCall

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyOktaOtp

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyOktaPassword

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyOktaPush

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyOktaQuestion

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyOktaSms

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyRsaToken

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicySymantecVip

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

MfaPolicyYubikeyToken

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ConsentType string
Enroll string
ConsentType string
Enroll string
consentType string
enroll string
consent_type str
enroll str

Package Details

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