Providers are the connections between your Tyk Developer Portal and your API management infrastructure. They serve as the bridge that makes your APIs, policies, and authentication mechanisms available for exposure through the Developer Portal.Each Provider represents a connection to a Tyk Dashboard instance, allowing the Developer Portal to discover available APIs, apply access policies, and issue credentials to developers. While the Developer Portal handles the presentation, documentation, and developer experience, the Provider handles the underlying API management functions.Providers transform your API management infrastructure into developer-ready resources by:
Making APIs defined in Tyk Dashboard available for inclusion in API Products
Supplying the access and rate limit policies used by Products and Plans
Generating and managing credentials when developers request API access
Enforcing security, rate limits, and quotas on API requests
In the Tyk Developer Portal, Providers are the foundation that enables all other functionality, connecting your API infrastructure to your developer community.
The Provider connection works through a secure API integration between the Developer Portal and the Tyk Dashboard. This connection allows the Portal to:
Discover Resources: Query available APIs and policies from the Dashboard
Create Policies: Generate new access and rate limit policies for Products and Plans
Issue Credentials: Request creation of API keys, OAuth tokens, or other credentials
Synchronize Changes: Maintain consistency between Portal and Dashboard configurations
It is important to understand the boundaries of Provider functionality:
Each API Product or Plan can only be associated with a single Provider
Credentials issued by one Provider cannot be used with APIs from another Provider
The same Authentication method must be used to access all APIs within an API Product, so that a single set of credentials can be created and accepted by the Provider.
Tyk Dashboard exposes a management API with a user management system that performs fine-grained Role Based Access Control (RBAC). The Developer Portal uses this API to configure and control security policies on the Dashboard. These policies implement the Developer Portal’s API Products and Plans, and are used in the creation and maintenance of access credentials for API Consumers.The Developer Portal thus needs access to the Tyk Dashboard API, so you will need to create a dedicated user on your Tyk Dashboard, following the steps indicated here.The Developer Portal user requires the following permissions:
The Developer Portal regularly synchronizes with the Provider to ensure it has up-to-date information about available APIs, policies, and other resources. This synchronization process is crucial for maintaining consistency between your API management infrastructure and the developer experience.
When a synchronization event occurs, for each Provider in turn, the Portal will retrieve all access and limit policies that have matching tags with those configured in the Provider settings.
Portal will create placeholder Products and Plans for any new policies.
It will hide from the Admin Portal view (and unpublish) any Products or Plans whose access/limit policies were not retrieved from the Dashboard (for example if the tags no longer match, or the Dashboard policy has been deleted).
If the policy is successfully retrieved in a future sync event, the Product or Plan will again be displayed with all of its previous configuration.
When an API Product or Plan is created on the Developer Portal, the corresponding access or limit policy is automatically created in the Provider (Dashboard). There is no need to trigger a synchronization event for this to occur.
The Portal automatically synchronizes with each Provider based on the PORTAL_REFRESHINTERVAL synchronization interval that can be declared in the Portal configuration. The default synchronization interval is 10 minutes starting from an initial sync that occurs when the Portal starts up.
The endpoint URL for the Tyk Dashboard. This is where the Developer Portal will interact with the Tyk Dashboard API using its allocated access credentials.
Location: Providers > Add/Edit Provider > URL
Format: Full URL including protocol, host, and port (e.g. https://dashboard.example.com:3000)
Note: Must be accessible from the Developer Portal server
Purpose: Filters which policies are imported from the Tyk Dashboard
Behavior:
The policy tags are added to all Tyk Dashboard policies created by the Developer Portal (for API Products and Plans)
When policies are synchronized from the Provider, only those policies with the policy tags will be retrieved
Adding policy tags to a partitioned policy in the Tyk Dashboard will cause it to be synchronized to the Developer Portal, creating a “bare-bones” API Product or Plan
Format: Comma separated list of text tags without spaces after the comma (e.g. to synchonrize Dashboard policies with the tags tag1 and tag2 you must configure Policy tags as tag1,tag2)