MfaPolicy
Create a MfaPolicy Resource
new MfaPolicy(name: string, args?: MfaPolicyArgs, opts?: CustomResourceOptions);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
Mfa
Policy Duo Args - Fido
U2f MfaPolicy Fido U2f Args - Fido
Webauthn MfaPolicy Fido Webauthn Args - Google
Otp MfaPolicy Google Otp Args - Groups
Includeds List<string> List of Group IDs to Include
- Name string
Policy Name
- Okta
Call MfaPolicy Okta Call Args - Okta
Otp MfaPolicy Okta Otp Args - Okta
Password MfaPolicy Okta Password Args - Okta
Push MfaPolicy Okta Push Args - Okta
Question MfaPolicy Okta Question Args - Okta
Sms MfaPolicy Okta Sms Args - 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.
- Rsa
Token MfaPolicy Rsa Token Args - Status string
Policy Status: ACTIVE or INACTIVE.
- Symantec
Vip MfaPolicy Symantec Vip Args - Yubikey
Token MfaPolicy Yubikey Token Args
- Description string
Policy Description
- Duo
Mfa
Policy Duo - Fido
U2f MfaPolicy Fido U2f - Fido
Webauthn MfaPolicy Fido Webauthn - Google
Otp MfaPolicy Google Otp - Groups
Includeds []string List of Group IDs to Include
- Name string
Policy Name
- Okta
Call MfaPolicy Okta Call - Okta
Otp MfaPolicy Okta Otp - Okta
Password MfaPolicy Okta Password - Okta
Push MfaPolicy Okta Push - Okta
Question MfaPolicy Okta Question - Okta
Sms MfaPolicy Okta Sms - 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.
- Rsa
Token MfaPolicy Rsa Token - Status string
Policy Status: ACTIVE or INACTIVE.
- Symantec
Vip MfaPolicy Symantec Vip - Yubikey
Token MfaPolicy Yubikey Token
- description string
Policy Description
- duo
Mfa
Policy Duo - fido
U2f MfaPolicy Fido U2f - fido
Webauthn MfaPolicy Fido Webauthn - google
Otp MfaPolicy Google Otp - groups
Includeds string[] List of Group IDs to Include
- name string
Policy Name
- okta
Call MfaPolicy Okta Call - okta
Otp MfaPolicy Okta Otp - okta
Password MfaPolicy Okta Password - okta
Push MfaPolicy Okta Push - okta
Question MfaPolicy Okta Question - okta
Sms MfaPolicy Okta Sms - 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.
- rsa
Token MfaPolicy Rsa Token - status string
Policy Status: ACTIVE or INACTIVE.
- symantec
Vip MfaPolicy Symantec Vip - yubikey
Token MfaPolicy Yubikey Token
- description str
Policy Description
- duo
Dict[Mfa
Policy Duo] - fido_
u2f Dict[MfaPolicy Fido U2f] - fido_
webauthn Dict[MfaPolicy Fido Webauthn] - google_
otp Dict[MfaPolicy Google Otp] - groups_
includeds List[str] List of Group IDs to Include
- name str
Policy Name
- okta_
call Dict[MfaPolicy Okta Call] - okta_
otp Dict[MfaPolicy Okta Otp] - okta_
password Dict[MfaPolicy Okta Password] - okta_
push Dict[MfaPolicy Okta Push] - okta_
question Dict[MfaPolicy Okta Question] - okta_
sms Dict[MfaPolicy Okta Sms] - 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[MfaPolicy Rsa Token] - status str
Policy Status: ACTIVE or INACTIVE.
- symantec_
vip Dict[MfaPolicy Symantec Vip] - yubikey_
token Dict[MfaPolicy Yubikey Token]
Outputs
All input properties are implicitly available as output properties. Additionally, the MfaPolicy resource produces the following output properties:
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): MfaPolicystatic 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
Mfa
Policy Duo Args - Fido
U2f MfaPolicy Fido U2f Args - Fido
Webauthn MfaPolicy Fido Webauthn Args - Google
Otp MfaPolicy Google Otp Args - Groups
Includeds List<string> List of Group IDs to Include
- Name string
Policy Name
- Okta
Call MfaPolicy Okta Call Args - Okta
Otp MfaPolicy Okta Otp Args - Okta
Password MfaPolicy Okta Password Args - Okta
Push MfaPolicy Okta Push Args - Okta
Question MfaPolicy Okta Question Args - Okta
Sms MfaPolicy Okta Sms Args - 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.
- Rsa
Token MfaPolicy Rsa Token Args - Status string
Policy Status: ACTIVE or INACTIVE.
- Symantec
Vip MfaPolicy Symantec Vip Args - Yubikey
Token MfaPolicy Yubikey Token Args
- Description string
Policy Description
- Duo
Mfa
Policy Duo - Fido
U2f MfaPolicy Fido U2f - Fido
Webauthn MfaPolicy Fido Webauthn - Google
Otp MfaPolicy Google Otp - Groups
Includeds []string List of Group IDs to Include
- Name string
Policy Name
- Okta
Call MfaPolicy Okta Call - Okta
Otp MfaPolicy Okta Otp - Okta
Password MfaPolicy Okta Password - Okta
Push MfaPolicy Okta Push - Okta
Question MfaPolicy Okta Question - Okta
Sms MfaPolicy Okta Sms - 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.
- Rsa
Token MfaPolicy Rsa Token - Status string
Policy Status: ACTIVE or INACTIVE.
- Symantec
Vip MfaPolicy Symantec Vip - Yubikey
Token MfaPolicy Yubikey Token
- description string
Policy Description
- duo
Mfa
Policy Duo - fido
U2f MfaPolicy Fido U2f - fido
Webauthn MfaPolicy Fido Webauthn - google
Otp MfaPolicy Google Otp - groups
Includeds string[] List of Group IDs to Include
- name string
Policy Name
- okta
Call MfaPolicy Okta Call - okta
Otp MfaPolicy Okta Otp - okta
Password MfaPolicy Okta Password - okta
Push MfaPolicy Okta Push - okta
Question MfaPolicy Okta Question - okta
Sms MfaPolicy Okta Sms - 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.
- rsa
Token MfaPolicy Rsa Token - status string
Policy Status: ACTIVE or INACTIVE.
- symantec
Vip MfaPolicy Symantec Vip - yubikey
Token MfaPolicy Yubikey Token
- description str
Policy Description
- duo
Dict[Mfa
Policy Duo] - fido_
u2f Dict[MfaPolicy Fido U2f] - fido_
webauthn Dict[MfaPolicy Fido Webauthn] - google_
otp Dict[MfaPolicy Google Otp] - groups_
includeds List[str] List of Group IDs to Include
- name str
Policy Name
- okta_
call Dict[MfaPolicy Okta Call] - okta_
otp Dict[MfaPolicy Okta Otp] - okta_
password Dict[MfaPolicy Okta Password] - okta_
push Dict[MfaPolicy Okta Push] - okta_
question Dict[MfaPolicy Okta Question] - okta_
sms Dict[MfaPolicy Okta Sms] - 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[MfaPolicy Rsa Token] - status str
Policy Status: ACTIVE or INACTIVE.
- symantec_
vip Dict[MfaPolicy Symantec Vip] - yubikey_
token Dict[MfaPolicy Yubikey Token]
Supporting Types
MfaPolicyDuo
MfaPolicyFidoU2f
MfaPolicyFidoWebauthn
MfaPolicyGoogleOtp
MfaPolicyOktaCall
MfaPolicyOktaOtp
MfaPolicyOktaPassword
MfaPolicyOktaPush
MfaPolicyOktaQuestion
MfaPolicyOktaSms
MfaPolicyRsaToken
MfaPolicySymantecVip
MfaPolicyYubikeyToken
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.