subcategory |
---|
Applications |
This resource allows you to create/update/delete SAML web application.
resource "centrify_webapp_saml" "saml_webapp" {
name = "SAML Web App"
template_name = "Generic SAML"
description = "SAML Web Application"
sp_config_method = 1
sp_metadata_url = "https://nexus.microsoftonline-p.com/federationmetadata/saml20/federationmetadata.xml"
saml_attribute {
name = "attribute1"
value = "value1"
}
saml_attribute {
name = "attribute2"
value = "value2"
}
saml_response_script = "test;"
username_strategy = "ADAttribute"
username = "userprincipalname"
}
More examples can be found here
name
- (String) Name of the SAML application.template_name
- (String) SAML application template. Can be set toGeneric SAML
,AWSConsoleSAML
,ClouderaSAML
,CloudLock SAML
,ConfluenceServerSAML
,Dome9Saml
,GitHubEnterpriseSAML
,JIRACloudSAML
,JIRAServerSAML
,PaloAltoNetworksSAML
,SplunkOnPremSAML
orSumoLogicSAML
.
description
- (String) Description of the SAML application.corp_identifier
- (String) AWS Account ID or Jira Cloud Subdomain. Applicable whenAWSConsoleSAML
orJIRACloudSAML
template is used.app_entity_id
- (String) Cloudera Entity ID or JIRA Cloud SP Entity ID. Applicable whenClouderaSAML
orJIRACloudSAML
template is used.application_id
- (String) Application ID. Specify the name or 'target' that the mobile application uses to find this application.sp_config_method
- (Int) Configuration method for Service Provider. To use manual configuration, set this to0
. To use metadata configuration, set this to1
.- If
sp_config_method
is set to1
, specify following arguments:sp_metadata_url
- (String) Service Provider metadata URL. When this is sepcified, Service Provider metadata is automatically loaded from URL andsp_metadata_xml
is ignore.sp_metadata_xml
- (String) The metadata provided by Service Provider.
- If
sp_config_method
is set to0
, specify following arguments:sp_entity_id
- (String) SP Entity ID, also known as SP Issuer, or Audience, is a value given by your Service Provider.acs_url
- (String) Assertion Consumer Service (ACS) URL.recipient_sameas_acs_url
- (Boolean) Recipient is same as ACS URL. Default istrue
.recipient
- (String) Service Provider recipient if it is different from ACS URL.sign_assertion
- (Boolean) Sign assertion if true, otherwise sign response. Default istrue
.name_id_format
- (String) This is the Format attribute value in the <NameID> element in SAML Response. Select the NameID Format that your Service Provider specifies to use. If SP does not specify one, select 'unspecified'. Can be set tounspecified
,emailAddress
,transient
,persistent
,entity
,kerberos
,WindowsDomainQualifiedName
orX509SubjectName
. Default isunspecified
.sp_single_logout_url
- (String) Single Logout URL.relay_state
- (String) If your Service Provider specifies a Relay State value to use, specify it here.authn_context_class
- (String) Select the Authentication Context Class that your Service Provider specifies to use. If SP does not specify one, select 'unspecified'. Can be set tounspecified
,PasswordProtectedTransport
,AuthenticatedTelephony
,InternetProtocol
,InternetProtocolPassword
,Kerberos
,MobileOneFactorContract
,MobileOneFactorUnregistered
,MobileTwoFactorContract
,MobileTwoFactorUnregistered
,NomadTelephony
,Password
,PersonalTelephony
,PGP
,PreviousSession
,SecureRemotePassword
,Smartcard
,SmartcardPKI
,SoftwarePKI
,SPKI
,Telephony
,TimeSyncToken
,TLSClient
,X509
orXMLDSig
. Default isunspecified
.
saml_attribute
- (Block Set) (see reference forsaml_attribute
).saml_response_script
- (String) Javascript used to produce custom logic for SAML response.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
orUseScript
. Default isADAttribute
.username
- (String) All users share the user name. Applicable ifusername_strategy
isFixed
orADAttribute
.user_map_script
- (String) Account mapping script. Applicable ifusername_strategy
isUseScript
.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.
Optional:
name
- (String) Name of the attribute.vaule
- (String) Value of the attribute.
SAML Application can be imported using the resource id
, e.g.
terraform import centrify_webapp_saml.example xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Limitation: permission
and sets
aren't supported in import process.