subcategory |
---|
Applications |
This resource allows you to create/update/delete Bookmark, Browser Extension, NTLM and Basic, User-Password web applications.
resource "centrify_webapp_generic" "browserextapp" {
name = "Test Browser Extension App"
template_name = "Generic Browser Extension"
description = "Test Browser Extension Application"
url = "https://www.google.com"
username_strategy = "Fixed"
//use_ad_login_pw = true
username = "username"
password = "password"
//use_ad_login_pw_by_script = true
//user_map_script = "test;"
hostname_suffix = "amazon.com"
username_field = "input#resolving_input"
password_field = "input[type='password']"
submit_field = "input#signInSubmit-input"
form_field = "form#ap_signin_form"
//additional_login_field =
//additional_login_field_value =
selector_timeout = 10
order = "[[\"fill\",\"username\"],[\"click\",\"button#next_button\"],[\"sleep\",\"1000\"],[\"fillEnter\",\"password\"],[\"waitForNewPage\"],[\"fillEnter\",\"password\"]]"
}
More examples can be found here
name
- (String) Name of the generic web application.template_name
- (String) Generic web application template. Can be set toGeneric Bookmark
,Generic Browser Extension
,GenericBrowserExtensionScript
,GenericNTLMBasic
, orGeneric User-Password
.
url
- (String) The URL of the application.description
- (String) Description of the web application.hostname_suffix
- (String) The host name suffix for the url of the login form, for example, acme.com.username_field
- (String) The CSS Selector for the user name field in the login form, for example, input#login-username.password_field
- (String) The CSS Selector for the password field in the login form, for example, input#login-password.submit_field
- (String) The CSS Selector for the Submit button in the login form, for example, input#login-button. This entry is optional. It is required only if you cannot submit the form by pressing the enter key.form_field
- (String) The CSS Selector for the form field of the login form, for example, form#loginForm.additional_login_field
- (String) The CSS Selector for any Additional Login Field required to login besides username and password, such as Company name or Agency ID. For example, the selector could be input#login-company-id. This entry is required only if there is an additional login field besides username and password.additional_login_field_value
- (String) The value for the Additional Login Field. For example, if there is an additional login field for the company name, enter the company name here. This entry is required if Additional Login Field is set.selector_timeout
- (Int) Use this field to indicate the number of milliseconds to wait for the expected input selectors to load before timing out on failure. A zero or negative number means no timeout. Range from0
to60000
.order
- (String) Use this field to specify the order of login if it is not username, password and submit.challenge_rule
- (Block List) Authentication rules. Refer to challenge_rule attribute for details.default_profile_id
- (String) Default Profile (used if no conditions matched). Default isAlwaysAllowed
.policy_script
- (String) Use script to specify authentication rules (configured rules are ignored). Conflicts withchallenge_rule
.username_strategy
- (String) Account mapping method. Can be set toADAttribute
,Fixed
,SetByUser
orUseScript
. Default isADAttribute
.username
- (String) All users share the user name. Applicable ifusername_strategy
isADAttribute
orFixed
. Default isuserprincipalname
.password
- (String Sensitive) Password for all user share one name. Applicable ifusername_strategy
isFixed
.use_ad_login_pw
- (Boolean) Use the login password supplied by the user (Active Directory users only). Applicable ifusername_strategy
isADAttribute
.use_ad_login_pw_by_script
- (Boolan) Use the login password supplied by the user for account mapping script (Active Directory users only). Applicable ifusername_strategy
isUseScript
.user_map_script
- (String) Account mapping script. Applicable ifusername_strategy
isUseScript
.script
- (String) Script to log the user in to this application.workflow_enabled
- (Boolean) Enable workflow for this application.workflow_approver
- (Block List) List of approvers. Refer to workflow_approver attribute for details.permission
- (Block Set) Domain permissions. Refer to permission attribute for details.sets
(Set of String) List of Set IDs the resource belongs to. Refer to sets attribute for details.
Generic Web Application can be imported using the resource id
, e.g.
terraform import centrify_webapp_generic.example xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Limitation: permission
and sets
aren't supported in import process.