Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.47 KB

File metadata and controls

38 lines (29 loc) · 1.47 KB
page_title spiceai Provider
description The Spice.ai provider allows you to manage Spice.ai resources such as apps and deployments.

spiceai Provider

The Spice.ai provider allows you to manage Spice.ai resources such as apps and deployments.

Example Usage

provider "spiceai" {
  # OAuth client credentials for Spice.ai API authentication
  # These can also be set via environment variables:
  #   SPICEAI_CLIENT_ID
  #   SPICEAI_CLIENT_SECRET

  # client_id     = "your-client-id"
  # client_secret = "your-client-secret"

  # Optional: Override API endpoints (defaults shown)
  # api_endpoint   = "https://api.spice.ai"
  # oauth_endpoint = "https://spice.ai/api/oauth/token"
}

Schema

Optional

  • api_endpoint (String) The Spice.ai API endpoint. Defaults to https://api.spice.ai. Can also be set via the SPICEAI_API_ENDPOINT environment variable.
  • client_id (String) The OAuth client ID for Spice.ai API authentication. Can also be set via the SPICEAI_CLIENT_ID environment variable.
  • client_secret (String, Sensitive) The OAuth client secret for Spice.ai API authentication. Can also be set via the SPICEAI_CLIENT_SECRET environment variable.
  • oauth_endpoint (String) The Spice.ai OAuth token endpoint. Defaults to https://spice.ai/api/oauth/token. Can also be set via the SPICEAI_OAUTH_ENDPOINT environment variable.