#==============================================================================
# Tyk Governance Agent Configuration
#==============================================================================
# Your Tyk Governance license key - required for agent authentication
# This is provided by Tyk when you subscribe to the Governance service
licenseKey: "your-tyk-governace-license-key"
# Configuration for connecting to the Tyk Governance dashboard/service
governanceDashboard:
server:
# The gRPC endpoint URL of the Tyk Governance service
# Format: hostname:port (without protocol)
# This is in the format of prefixing "grpc-" to your Governance Hub URL.
url: "grpc-your-governance-instance.tyk.io:443"
auth:
# Authentication token for this agent
# Generated via API call to /auth/token endpoint
# This token identifies and authorizes this specific agent
token: "my-agent-token"
#==============================================================================
# API Provider Configurations
#==============================================================================
# List of API providers this agent will connect to
# Each agent can connect to multiple providers of different types
instances:
#--------------------------------------------------------------------------
# Tyk Provider Configuration
#--------------------------------------------------------------------------
- name: "tyk-provider" # Descriptive name for this provider instance
type: "tyk" # Provider type: must be "tyk" for Tyk Dashboard
config:
# The URL of your Tyk Dashboard
# For Kubernetes deployments, this might be an internal service URL
host: "http://dashboard-svc-tyk-stack-tyk-dashboard.tyk.svc.cluster.local:3000"
# API key with read access to the Tyk Dashboard
# Can be obtained in Tyk Dashboard under "User" > "User Details": "Tyk Dashboard API Access Credentials"
# Requires read permissions for APIs and policies
auth: "your-auth-key"
#--------------------------------------------------------------------------
# AWS API Gateway Provider Configuration
#--------------------------------------------------------------------------
- name: "aws-provider" # Descriptive name for this AWS API Gateway instance
type: "aws" # Provider type: must be "aws" for AWS API Gateway
config:
# AWS IAM credentials with permissions to list and get API Gateway resources
# Recommended: Use an IAM role with minimal required permissions
accessKeyId: "your-aws-access-key-id"
accessKeySecret: "your-aws-access-key-secret"
# AWS region where your API Gateway APIs are deployed
# Example: us-east-1, eu-west-1, ap-southeast-2, etc.
region: "us-east-1"
# Optional: Temporary session token if using temporary credentials
# Required only when using AWS STS temporary credentials
sessionToken: "your-aws-session-token"
#==============================================================================
# Agent Settings
#==============================================================================
# Log level controls verbosity of agent logs
# Options: debug, info, warn, error
# Recommended: info for production, debug for troubleshooting
logLevel: debug
# Health probe configuration for monitoring agent health
# Used by container orchestration systems like Kubernetes
healthProbe:
server:
# Port on which the health probe server will listen
# Ensure this port is not used by other services
port: 5959