Resource: pingaccess_oauth_server
Provides an Authorization Server configuration.
Example Usage
resource "pingaccess_oauth_server" "demo_oauth_server" {
targets = ["localhost:9031"]
subject_attribute_name = "san"
trusted_certificate_group_id = 1
introspection_endpoint = "https://localhost:443/introspection"
client_credentials {
client_id = "oauth"
client_secret {
value = "top_secret"
}
}
secure = true
}
Argument Attributes
The following arguments are supported:
-
audit_level
- Enable to record requests to third-party OAuth 2.0 Authorization Server to the audit store. -
cache_tokens
- Enable to retain token details for subsequent requests. -
client_credentials
- Specify the client credentials. -
description
- The description of the third-party OAuth 2.0 Authorization Server. -
introspection_endpoint
- The third-party OAuth 2.0 Authorization Server's token introspection endpoint. -
secure
- Enable if third-party OAuth 2.0 Authorization Server is expecting HTTPS connections. -
send_audience
- Enable to send the URI the user requested as the 'aud' OAuth parameter for PingAccess to the OAuth 2.0 Authorization server. -
subject_attribute_name
- The attribute you want to use from the OAuth access token as the subject for auditing purposes. -
targets
- One or more server hostname:port pairs used to access third-party OAuth 2.0 Authorization Server. -
token_time_to_live_seconds
- Defines the number of seconds to cache the access token. -1 means no limit. This value should be less than the PingFederate Token Lifetime. -
trusted_certificate_group_id
- The group of certificates to use when authenticating to third-party OAuth 2.0 Authorization Server. -
use_proxy
- True if a proxy should be used for HTTP or HTTPS requests.
Attributes Reference
No additional attributes are provided.