| page_title | pingone_application Data Source - terraform-provider-pingone |
|---|---|
| subcategory | SSO |
| description | Data source to retrieve a PingOne application in an environment by ID or by name. |
Data source to retrieve a PingOne application in an environment by ID or by name.
data "pingone_application" "example_by_name" {
environment_id = var.environment_id
name = "foo"
}
data "pingone_application" "example_by_id" {
environment_id = var.environment_id
application_id = var.application_id
}environment_id(String) PingOne environment identifier (UUID) in which the application exists. Must be a valid PingOne resource ID. This field is immutable and will trigger a replace plan if changed.
application_id(String) The identifier (UUID) of the application. Exactly one of the following must be defined:application_id,name. Must be a valid PingOne resource ID.name(String) The name of the application. Exactly one of the following must be defined:application_id,name.
access_control_group_options(Attributes) Group access control settings. (see below for nested schema)access_control_role_type(String) The user role required to access the application. A user is an admin user if the user has one or more of the following roles:Organization Admin,Environment Admin,Identity Data Admin, orClient Application Developer.description(String) A string that specifies the description of the application.enabled(Boolean) A boolean that specifies whether the application is enabled in the environment.external_link_options(Attributes) External link application specific settings. (see below for nested schema)hidden_from_app_portal(Boolean) A boolean to specify whether the application is hidden in the application portal despite the configured group access policy.icon(Attributes) The HREF and the ID for the application icon. (see below for nested schema)id(String) The ID of this resource.login_page_url(String) A string that specifies the custom login page URL for the application.oidc_options(Attributes) OIDC/OAuth application specific settings. (see below for nested schema)saml_options(Attributes) SAML application specific settings. (see below for nested schema)tags(Set of String) An array that specifies the list of labels associated with the application.wsfed_options(Attributes) A single object that specifies WS-Fed application specific settings. (see below for nested schema)
Read-Only:
groups(Set of String) A set that specifies the group IDs for the groups the actor must belong to for access to the application.type(String) A string that specifies the group type required to access the application.
Read-Only:
home_page_url(String) The custom home page URL for the application. Bothhttp://andhttps://URLs are permitted.
Read-Only:
href(String) The HREF for the application icon.id(String) The ID for the application icon.
Read-Only:
additional_refresh_token_replay_protection_enabled(Boolean) A boolean that, when set totrue, if you attempt to reuse the refresh token, the authorization server immediately revokes the reused refresh token, as well as all descendant tokens. Defaults totrue.allow_wildcard_in_redirect_uris(Boolean) A boolean to specify whether wildcards are allowed in redirect URIs. For more information, see Wildcards in Redirect URIs.certificate_based_authentication(Attributes) Certificate based authentication settings. (see below for nested schema)client_id(String) A string that specifies the application ID used to authenticate to the authorization server.cors_settings(Attributes) A single object that allows customization of how the Authorization and Authentication APIs interact with CORS requests that reference the application. If omitted, the application allows CORS requests from any origin except for operations that expose sensitive information (e.g./as/authorizeand/as/token). This is legacy behavior, and it is recommended that applications migrate to include specific CORS settings. (see below for nested schema)device_custom_verification_uri(String) A string that specifies an optional custom verification URI that is returned for the/device_authorizationendpoint.device_path_id(String) A string that describes a unique identifier within an environment for a device authorization grant flow to provide a short identifier to the application. This property is ignored when thedevice_custom_verification_uriproperty is configured.device_polling_interval(Number) An integer that specifies the frequency (in seconds) for the client to poll the/as/tokenendpoint.device_timeout(Number) An integer that specifies the length of time (in seconds) that theuserCodeanddeviceCodereturned by the/device_authorizationendpoint are valid.grant_types(Set of String) A list that specifies the grant type for the authorization request.home_page_url(String) The custom home page URL for the application. The provided URL is expected to use thehttps://schema. Thehttpschema is permitted where the host islocalhostor127.0.0.1.idp_signoff(Boolean) A boolean flag to allow signoff without access to the session token cookie.include_x5t(Boolean) A boolean that specifies whether tokens signed for this application include thex5tsignature header in the signed JWT.initiate_login_uri(String) A string that specifies the URI to use for third-parties to begin the sign-on process for the application.jwks(String) A string that specifies a JWKS string that validates the signature of signed JWTs for applications that use thePRIVATE_KEY_JWToption for thetoken_endpoint_auth_method. This property is required whentoken_endpoint_auth_methodisPRIVATE_KEY_JWTand thejwks_urlproperty is empty. For more information, see Create a private_key_jwt JWKS string. This property is also required if the optionalrequestproperty JWT on the authorize endpoint is signed using the RS256 (or RS384, RS512) signing algorithm and thejwks_urlproperty is empty. For more infornmation about signing therequestproperty JWT, see Create a request property JWT.jwks_url(String) A string that specifies a URL (supportshttps://only) that provides access to a JWKS string that validates the signature of signed JWTs for applications that use thePRIVATE_KEY_JWToption for thetoken_endpoint_auth_method. This property is required whentoken_endpoint_auth_methodisPRIVATE_KEY_JWTand thejwksproperty is empty. For more information, see Create a private_key_jwt JWKS string. This property is also required if the optionalrequestproperty JWT on the authorize endpoint is signed using the RS256 (or RS384, RS512) signing algorithm and thejwksproperty is empty. For more infornmation about signing therequestproperty JWT, see Create a request property JWT.mobile_app(Attributes) Mobile application integration settings. (see below for nested schema)op_session_check_enabled(Boolean) A boolean that specifies whether thesession_stateparameter is included in the authentication response.par_requirement(String) A string that specifies whether pushed authorization requests (PAR) are required.par_timeout(Number) An integer that specifies the pushed authorization request (PAR) timeout in seconds.pkce_enforcement(String) A string that specifies howPKCErequest parameters are handled on the authorize request.post_logout_redirect_uris(Set of String) A list of strings that specifies the URLs that the browser can be redirected to after logout. The provided URLs are expected to use thehttps://,http://schema, or a custom mobile native schema (e.g.,org.bxretail.app://logout).redirect_uris(Set of String) A list of strings that specifies the allowed callback URIs for the authentication response.refresh_token_duration(Number) An integer that specifies the lifetime in seconds of the refresh token.refresh_token_rolling_duration(Number) An integer that specifies the number of seconds a refresh token can be exchanged before re-authentication is required.refresh_token_rolling_grace_period_duration(Number) The number of seconds that a refresh token may be reused after having been exchanged for a new set of tokens.request_scopes_for_multiple_resources_enabled(Boolean) A boolean that specifies whether the application can request scopes from multiple custom resources.require_signed_request_object(Boolean) A boolean that indicates that the Java Web Token (JWT) for the request query parameter is required to be signed. Iffalseor null, a signed request object is not required. Bothsupport_unsigned_request_objectand this property cannot be set totrue. Defaults tofalse.response_types(Set of String) A list that specifies the code or token type returned by an authorization request.support_unsigned_request_object(Boolean) A boolean that specifies whether the request query parameter JWT is allowed to be unsigned.target_link_uri(String) The URI for the application.token_endpoint_auth_method(String) A string that specifies the client authentication methods supported by the token endpoint.type(String) A string that specifies the type associated with the application.
Read-Only:
key_id(String) A string that represents a PingOne ID for the issuance certificate key.
Read-Only:
behavior(String) A string that represents the behavior of how Authorization and Authentication APIs interact with CORS requests that reference the application. Options areALLOW_NO_ORIGINS(rejects all CORS requests),ALLOW_SPECIFIC_ORIGINS(rejects all CORS requests except those listed inorigins).origins(Set of String) A set of strings that represent the origins from which CORS requests to the Authorization and Authentication APIs are allowed. Each value will be ahttporhttpsURL without a path. The host may be a domain name (includinglocalhost), or an IPv4 address. Subdomains may use the wildcard (*) to match any string. Is expected to be non-empty whenbehaviorisALLOW_SPECIFIC_ORIGINSand is expected to be omitted or empty whenbehaviorisALLOW_NO_ORIGINS. Limited to 20 values.
Read-Only:
bundle_id(String) A string that specifies the bundle associated with the application, for push notifications in native apps.huawei_app_id(String) The unique identifier for the app on the device and in the Huawei Mobile Service AppGallery.huawei_package_name(String) The package name associated with the application, for push notifications in native apps.integrity_detection(Attributes) Mobile application integrity detection settings. (see below for nested schema)package_name(String) A string that specifies the package name associated with the application, for push notifications in native apps.passcode_refresh_seconds(Number) The amount of time a passcode should be displayed before being replaced with a new passcode.universal_app_link(String) A string that specifies a URI prefix that enables direct triggering of the mobile application when scanning a QR code.
Read-Only:
cache_duration(Attributes) Indicates the caching duration of successful integrity detection calls. (see below for nested schema)enabled(Boolean) A boolean that specifies whether device integrity detection takes place on mobile devices.excluded_platforms(Set of String) Indicates OS excluded from device integrity checking.google_play(Attributes) A single object that describes Google Play Integrity API credential settings for Android device integrity detection. (see below for nested schema)
Read-Only:
amount(Number) An integer that specifies the number of minutes or hours that specify the duration between successful integrity detection calls.units(String) A string that specifies the cache duration time units.
Read-Only:
decryption_key(String, Sensitive) Play Integrity verdict decryption key from your Google Play Services account. This parameter must be provided if you have setverification_typetoINTERNAL. Cannot be set withservice_account_credentials_json.service_account_credentials_json(String, Sensitive) Contents of the JSON file that represents your Service Account Credentials.verification_key(String, Sensitive) Play Integrity verdict signature verification key from your Google Play Services account.verification_type(String) The type of verification.
Read-Only:
acs_urls(Set of String) A list of string that specifies the Assertion Consumer Service URLs. The first URL in the list is used as default (there must be at least one URL).assertion_duration(Number) An integer that specifies the assertion validity duration in seconds.assertion_signed_enabled(Boolean) A boolean that specifies whether the SAML assertion itself should be signed.cors_settings(Attributes) A single object that allows customization of how the Authorization and Authentication APIs interact with CORS requests that reference the application. If omitted, the application allows CORS requests from any origin except for operations that expose sensitive information (e.g./as/authorizeand/as/token). This is legacy behavior, and it is recommended that applications migrate to include specific CORS settings. (see below for nested schema)default_target_url(String) A string that specfies a default URL used as theRelayStateparameter by the IdP to deep link into the application after authentication. This value can be overridden by theapplicationUrlquery parameter for GET Identity Provider Initiated SSO. Although both of these parameters are generally URLs, because they are used as deep links, this is not enforced. If neitherdefaultTargetUrlnorapplicationUrlis specified during a SAML authentication flow, noRelayStatevalue is supplied to the application. ThedefaultTargetUrl(or theapplicationUrl) value is passed to the SAML application’s ACS URL as a separateRelayStatekey value (not within the SAMLResponse key value).enable_requested_authn_context(Boolean) A boolean that specifies whetherrequestedAuthnContextis taken into account in policy decision-making.home_page_url(String) A string that specifies the custom home page URL for the application.idp_signing_key(Attributes) SAML application assertion/response signing key settings. (see below for nested schema)nameid_format(String) A string that specifies the format of the Subject NameID attibute in the SAML assertion.response_is_signed(Boolean) A boolean that specifies whether the SAML assertion response itself should be signed.session_not_on_or_after_duration(Number) An integer that specifies a value for if the SAML application requires a differentSessionNotOnOrAfterattribute value within theAuthnStatementelement than theNotOnOrAftervalue set by theassertion_durationproperty.slo_binding(String) A string that specifies the binding protocol to be used for the logout response.slo_endpoint(String) A string that specifies the logout endpoint URL.slo_response_endpoint(String) A string that specifies the endpoint URL to submit the logout response.slo_window(Number) An integer that defines how long (hours) PingOne can exchange logout messages with the application, specifically a logout request from the application, since the initial request.sp_encryption(Attributes) A single object that specifies settings for PingOne to encrypt SAML assertions to be sent to the application. Assertions are not encrypted by default. (see below for nested schema)sp_entity_id(String) A string that specifies the service provider entity ID used to lookup the application. This is a required property and is unique within the environment.sp_verification(Attributes) A single object that specifies SP signature verification settings. (see below for nested schema)type(String) A string that specifies the type associated with the application.virtual_server_id_settings(Attributes) A single object that specifies settings for SAML virtual server IDs. (see below for nested schema)
Read-Only:
behavior(String) A string that represents the behavior of how Authorization and Authentication APIs interact with CORS requests that reference the application. Options areALLOW_NO_ORIGINS(rejects all CORS requests),ALLOW_SPECIFIC_ORIGINS(rejects all CORS requests except those listed inorigins).origins(Set of String) A set of strings that represent the origins from which CORS requests to the Authorization and Authentication APIs are allowed. Each value will be ahttporhttpsURL without a path. The host may be a domain name (includinglocalhost), or an IPv4 address. Subdomains may use the wildcard (*) to match any string. Is expected to be non-empty whenbehaviorisALLOW_SPECIFIC_ORIGINSand is expected to be omitted or empty whenbehaviorisALLOW_NO_ORIGINS. Limited to 20 values.
Read-Only:
algorithm(String) A string that specifies the signature algorithm of the key.key_id(String) An ID for the certificate key pair to be used by the identity provider to sign assertions and responses.
Read-Only:
algorithm(String) The algorithm to use when encrypting assertions. Options areAES_128,AES_256,TRIPLEDES.certificate(Attributes) A single object that specifies the certificate settings used to encrypt SAML assertions. (see below for nested schema)
Read-Only:
id(String) A string that specifies the unique identifier of the encryption public certificate that has been uploaded to PingOne.
Read-Only:
authn_request_signed(Boolean) A boolean that specifies whether the Authn Request signing should be enforced.certificate_ids(Set of String) A list that specifies the certificate IDs used to verify the service provider signature.
Read-Only:
enabled(Boolean) A boolean that specifies whether virtual server IDs are enabled for this SAML application.virtual_server_ids(Attributes List) A list of virtual server ID objects. Each object contains a virtual server ID and a flag indicating if it is the default. (see below for nested schema)
Read-Only:
default(Boolean) Whether this virtual server ID is the default.vs_id(String) The virtual server ID.
Read-Only:
audience_restriction(String) The service provider ID. The default value isurn:federation:MicrosoftOnline.cors_settings(Attributes) A single object that allows customization of how the Authorization and Authentication APIs interact with CORS requests that reference the application. If omitted, the application allows CORS requests from any origin except for operations that expose sensitive information (e.g./as/authorizeand/as/token). This is legacy behavior, and it is recommended that applications migrate to include specific CORS settings. (see below for nested schema)domain_name(String) The federated domain name (for example, the Azure custom domain).idp_signing_key(Attributes) Contains the information about the signing of requests by the identity provider (IdP). (see below for nested schema)kerberos(Attributes) The Kerberos authentication settings. Leave this out of the configuration to disable Kerberos authentication. (see below for nested schema)reply_url(String) The URL that the replying party (such as, Office365) uses to accept submissions of RequestSecurityTokenResponse messages that are a result of SSO requests.slo_endpoint(String) The single logout endpoint URL.subject_name_identifier_format(String) The format to use for the SubjectNameIdentifier element. Options areurn:oasis:names:tc:SAML:1.1:nameid-format:unspecified,urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress.type(String) A string that specifies the type associated with the application. This is a required property. Options areWEB_APP,NATIVE_APP,SINGLE_PAGE_APP,WORKER,SERVICE,CUSTOM_APP,PORTAL_LINK_APP.
Read-Only:
behavior(String) A string that represents the behavior of how Authorization and Authentication APIs interact with CORS requests that reference the application. Options areALLOW_NO_ORIGINS(rejects all CORS requests),ALLOW_SPECIFIC_ORIGINS(rejects all CORS requests except those listed inorigins).origins(Set of String) A set of strings that represent the origins from which CORS requests to the Authorization and Authentication APIs are allowed. Each value will be ahttporhttpsURL without a path. The host may be a domain name (includinglocalhost), or an IPv4 address. Subdomains may use the wildcard (*) to match any string. Is expected to be non-empty whenbehaviorisALLOW_SPECIFIC_ORIGINSand is expected to be omitted or empty whenbehaviorisALLOW_NO_ORIGINS. Limited to 20 values.
Read-Only:
algorithm(String) A string that specifies the signature algorithm of the key.key_id(String) An ID for the certificate key pair to be used by the identity provider to sign assertions and responses.
Read-Only:
gateways(Attributes Set) The LDAP gateway properties. (see below for nested schema)
Read-Only:
id(String) The UUID of the LDAP gateway. Must be a valid PingOne resource ID.type(String) The gateway type. This must be "LDAP".user_type(Attributes) The object reference to the user type in the list of "userTypes" for the LDAP gateway. (see below for nested schema)
Read-Only:
id(String) The UUID of a user type in the list ofuserTypesfor the LDAP gateway. Must be a valid PingOne resource ID.