I’m trying to use Terraform and the Okta provider to create an application (okta_app_oauth) that has a public/private key rather than client secret. What arguments do I need to supply Terraform to have the public/private key generated automatically?
Here is an example that creates an app with a client id/client secret:
resource "okta_app_oauth" "test_app" {
label = "testAcc_replace_with_uuid"
type = "service"
grant_types = ["client_credentials"]
}