forked from okta/terraform-provider-okta
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdatasource.tf
29 lines (26 loc) · 967 Bytes
/
datasource.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
resource "okta_app_saml" "test" {
label = "testAcc_replace_with_uuid"
sso_url = "http://google.com"
recipient = "http://here.com"
destination = "http://its-about-the-journey.com"
audience = "http://audience.com"
subject_name_id_template = "$${user.userName}"
subject_name_id_format = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
response_signed = true
signature_algorithm = "RSA_SHA256"
digest_algorithm = "SHA256"
honor_force_authn = false
authn_context_class_ref = "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport"
attribute_statements {
type = "GROUP"
name = "Attr Two"
filter_type = "STARTS_WITH"
filter_value = "test"
}
}
data "okta_app_saml" "test" {
id = okta_app_saml.test.id
}
data "okta_app_saml" "test_label" {
label = okta_app_saml.test.label
}