Skip to content

Sideko-Inc/konnect-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Konnect API Python SDK

Overview

The Konnect platform API

Synchronous Client

from kong_konnect_py import Client
from os import getenv

client = Client(
    konnect_access_token=getenv("API_TOKEN"),
    personal_access_token=getenv("API_TOKEN"),
    system_access_token=getenv("API_TOKEN"),
)

Asynchronous Client

from kong_konnect_py import AsyncClient
from os import getenv

client = AsyncClient(
    konnect_access_token=getenv("API_TOKEN"),
    personal_access_token=getenv("API_TOKEN"),
    system_access_token=getenv("API_TOKEN"),
)

Module Documentation and Snippets

  • list - Get Auth Settings
  • patch - Update Auth Settings
  • list - Get Resource Availability JSON
  • get - Get Configuration
  • list - List Configurations
  • update - Create Configuration
  • create - Create Custom Domain
  • delete - Delete Custom Domain
  • get - Get Custom Domain
  • list - List Custom Domains
  • list - Get Custom Domain Online Status
  • list - List Default Resource Configurations
  • list - List Default Resource Quotas
  • list - Returns a paginated collection of configurations that reference a network.
  • create - Create Transit Gateway
  • delete - Delete Transit Gateway
  • get - Get Transit Gateway
  • list - List Transit Gateways
  • get - Get Provider Account
  • list - List Provider Accounts
  • get - Get Resource Configuration
  • list - List Resource Configurations
  • get - Get Resource Quota
  • list - List Resource Quotas
  • create - Create Control Plane
  • delete - Delete Control Plane
  • get - Fetch Control Plane
  • list - List Control Planes
  • patch - Update Control Plane
  • create - Create Config Store
  • delete - Delete Config Store
  • get - Fetch Config Store
  • list - List all config stores for a control plane
  • update - Update an individual Config Store
  • create - Create Config Store Secret
  • delete - Delete Config Store Secret
  • get - Fetch Config Store Secret
  • list - List Config Store Secrets
  • update - Update Config Store Secret
  • get - Fetch an ACL
  • list - List all ACLs
  • get - Fetch a Basic-auth credential
  • list - List all Basic-auth credentials
  • create - Create a new CA Certificate
  • delete - Delete a CA Certificate
  • get - Fetch a CA Certificate
  • list - List all CA Certificates
  • update - Upsert a CA Certificate
  • create - Create a new Certificate
  • delete - Delete a Certificate
  • get - Fetch a Certificate
  • list - List all Certificates
  • update - Upsert a Certificate
  • create - Create a new SNI associated with a Certificate
  • delete - Delete a an SNI associated with a Certificate
  • get - Fetch an SNI associated with a Certificate
  • list - List all SNIs associated with a Certificate
  • update - Upsert an SNI associated with a Certificate
  • create - Create a new Consumer Group
  • delete - Delete a Consumer Group
  • get - Fetch a Consumer Group
  • list - List all Consumer Groups
  • update - Upsert a Consumer Group
  • create - Add consumer to consumer group
  • delete - Remove consumers from consumer group
  • delete_1 - Remove consumer from consumer group
  • list - List all Consumers in a Consumer Group
  • create - Create a new Plugin associated with a Consumer Group
  • delete - Delete a a Plugin associated with a Consumer Group
  • get - Fetch a Plugin associated with a Consumer Group
  • list - List all Plugins associated with a Consumer Group
  • update - Upsert a Plugin associated with a Consumer Group
  • create - Create a new Consumer
  • delete - Delete a Consumer
  • get - Fetch a Consumer
  • list - List all Consumers
  • update - Upsert a Consumer
  • create - Create a new ACL associated with a Consumer
  • delete - Delete a an ACL associated with a Consumer
  • get - Fetch an ACL associated with a Consumer
  • list - List all ACLs associated with a Consumer
  • update - Upsert an ACL associated with a Consumer
  • create - Create a new Basic-auth credential associated with a Consumer
  • delete - Delete a a Basic-auth credential associated with a Consumer
  • get - Fetch a Basic-auth credential associated with a Consumer
  • list - List all Basic-auth credentials associated with a Consumer
  • update - Upsert a Basic-auth credential associated with a Consumer
  • create - Add consumer to a specific consumer group
  • delete - Remove consumer from consumer group
  • delete_1 - Remove consumer from consumer group
  • list - List all Consumer Groups a Consumer belongs to
  • create - Create a new HMAC-auth credential associated with a Consumer
  • delete - Delete a a HMAC-auth credential associated with a Consumer
  • get - Fetch a HMAC-auth credential associated with a Consumer
  • list - List all HMAC-auth credentials associated with a Consumer
  • update - Upsert a HMAC-auth credential associated with a Consumer
  • create - Create a new JWT associated with a Consumer
  • delete - Delete a a JWT associated with a Consumer
  • get - Fetch a JWT associated with a Consumer
  • list - List all JWTs associated with a Consumer
  • update - Upsert a JWT associated with a Consumer
  • create - Create a new API-key associated with a Consumer
  • delete - Delete a an API-key associated with a Consumer
  • get - Fetch an API-key associated with a Consumer
  • list - List all API-keys associated with a Consumer
  • update - Upsert an API-key associated with a Consumer
  • create - Create a new MTLS-auth credential associated with a Consumer
  • delete - Delete a a MTLS-auth credential associated with a Consumer
  • get - Fetch a MTLS-auth credential associated with a Consumer
  • list - List all MTLS-auth credentials associated with a Consumer
  • update - Upsert a MTLS-auth credential associated with a Consumer
  • create - Create a new Plugin associated with a Consumer
  • delete - Delete a a Plugin associated with a Consumer
  • get - Fetch a Plugin associated with a Consumer
  • list - List all Plugins associated with a Consumer
  • update - Upsert a Plugin associated with a Consumer
  • get - Fetch a HMAC-auth credential
  • list - List all HMAC-auth credentials
  • get - Fetch a JWT
  • list - List all JWTs
  • get - Fetch an API-key
  • list - List all API-keys
  • create - Create a new KeySet
  • delete - Delete a KeySet
  • get - Fetch a KeySet
  • list - List all KeySets
  • update - Upsert a KeySet
  • create - Create a new Key associated with a KeySet
  • delete - Delete a a Key associated with a KeySet
  • get - Fetch a Key associated with a KeySet
  • list - List all Keys associated with a KeySet
  • update - Upsert a Key associated with a KeySet
  • get - Fetch a MTLS-auth credential
  • list - List all MTLS-auth credentials
  • create - Upload custom plugin schema
  • delete - Delete custom plugin schema
  • get - Fetch custom plugin schema
  • list - List custom plugin schemas associated with a control plane
  • update - Create or update a custom plugin schema
  • create - Create a new Plugin
  • delete - Delete a Plugin
  • get - Fetch a Plugin
  • list - List all Plugins
  • update - Upsert a Plugin
  • create - Create a new Plugin associated with a Route
  • delete - Delete a a Plugin associated with a Route
  • get - Fetch a Plugin associated with a Route
  • list - List all Plugins associated with a Route
  • update - Upsert a Plugin associated with a Route
  • get - Fetch plugin schema
  • create - Create a new Service
  • delete - Delete a Service
  • get - Fetch a Service
  • list - List all Services
  • update - Upsert a Service
  • create - Create a new Plugin associated with a Service
  • delete - Delete a a Plugin associated with a Service
  • get - Fetch a Plugin associated with a Service
  • list - List all Plugins associated with a Service
  • update - Upsert a Plugin associated with a Service
  • create - Create a new Route associated with a Service
  • delete - Delete a a Route associated with a Service
  • get - Fetch a Route associated with a Service
  • list - List all Routes associated with a Service
  • update - Upsert a Route associated with a Service
  • create - Create a new Upstream
  • delete - Delete an Upstream
  • get - Fetch an Upstream
  • list - List all Upstreams
  • update - Upsert a Upstream
  • create - Create a new Target associated with an Upstream
  • delete - Delete a a Target associated with an Upstream
  • get - Fetch a Target associated with an Upstream
  • list - List all Targets associated with an Upstream
  • update - Upsert a Target associated with an Upstream
  • create - Pin New DP Client Certificate
  • delete - Delete DP Client Certificate
  • get - Fetch DP Client Certificate
  • list - List DP Client Certificates
  • list - Fetch Expected Config Hash
  • list - Control Plane Group Member Status
  • list - List Control Plane Group Memberships
  • update - Upsert Control Plane Group Members
  • create - Add Control Plane Group Members
  • create - Remove Control Plane Group Members
  • list - Get Control Plane Group Status
  • delete - Delete Data Plane Node Record
  • get - Fetch Data Plane Node Record
  • list - List Data Plane Node Records
  • list - List End-of-Life Data Plane Node Records
  • list - Fetch IdP Configuration
  • patch - Update IdP Configuration
  • list - Fetch Team Group Mappings
  • patch - Patch Mappings by Team ID
  • list - Fetch Team Mapping
  • update - Update Team Mappings
  • create - Create Identity Provider
  • delete - Delete Identity Provider
  • get - Get Identity Provider
  • list - Retrieve Identity Providers
  • patch - Update Identity Provider
  • list - List available user configurations.
  • create - Create a new subscription for an event.
  • delete - Delete subscription associated with event.
  • get - Get subscription for an event.
  • list - List event subscriptions.
  • patch - Update subscription for an event.
  • delete - Delete notification.
  • get - Get notification details.
  • list - List available notifications.
  • patch - Update notification.
  • create - Mark a list of notifications to a status.
  • list - Get Impersonation Settings
  • patch - Update Impersonation Settings
  • list - Retrieve My Organization
  • list - Get Predefined Roles
  • create - Create System Account
  • delete - Delete System Account
  • get - Fetch System Account
  • list - List System Accounts
  • patch - Update System Account
  • create - Create System Account Access Token
  • delete - Delete System Account Access Token
  • get - Fetch System Account Access Token
  • list - List System Account Access Tokens
  • patch - Update System Account Access Token
  • create - Create Assigned Role for System Account
  • delete - Delete Assigned Role from System Account
  • list - Fetch Assigned Roles for System Account
  • list - List Teams for a System Account
  • create - Add System Account to a Team
  • delete - Remove System Account From Team
  • list - List System Accounts on a Team
  • list - Retrieve My User Account
  • list - List User Teams

About

The Konnect platform API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages