Resource: auth0_resource_server

With this resource, you can set up APIs that can be consumed from your authorized applications.

Example Usage

resource "auth0_resource_server" "my_resource_server" {
  name        = "Example Resource Server (Managed by Terraform)"
  identifier  = "https://api.example.com"
  signing_alg = "RS256"

  allow_offline_access                            = true
  token_lifetime                                  = 8600
  skip_consent_for_verifiable_first_party_clients = true
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# Existing resource servers can be imported using their ID.
#
# Example:
terraform import auth0_resource_server.my_resource_server "XXXXXXXXXXXXXXXXXXXXXXX"