Overview
TheZitadel class is the main entry point for interacting with the Zitadel API. It initializes the SDK with an authentication strategy and provides access to all service APIs.
Class Methods
with_access_token
Initialize the SDK with a Personal Access Token (PAT).API URL (e.g.,
"https://api.zitadel.example.com")Personal Access Token for Bearer authentication
Zitadel - SDK client configured with PAT authentication
Example:
with_client_credentials
Initialize the SDK using OAuth2 Client Credentials flow.API URL
OAuth2 client identifier
OAuth2 client secret
Zitadel - SDK client with automatic token acquisition and refresh
Example:
with_private_key
Initialize the SDK via Private Key JWT assertion.API URL
Path to service account JSON or PEM key file
Zitadel - SDK client using JWT assertion for secure, secret-less authentication
Example:
Constructor
initialize
Initialize the Zitadel SDK with a custom authenticator.The authentication strategy to use (e.g.,
PersonalAccessTokenAuthenticator, ClientCredentialsAuthenticator, WebTokenAuthenticator)Configuration - Allows customizing SDK configuration
Returns: Zitadel - Initialized SDK client
Example:
Service Accessors
TheZitadel client provides access to all Zitadel API services through instance attributes.
Stable Services
API for managing actions and flows
API for managing applications
API for managing authorizations
API for managing instance and organization features
API for managing identity providers
API for managing instances
API for managing internal permissions
API for OIDC operations
API for managing organizations
API for managing projects
API for SAML operations
API for managing sessions
API for managing settings
API for managing users
API for managing web keys
Beta Services
Beta API for actions
Beta API for applications
Beta API for authorizations
Beta API for features
Beta API for instance management
Beta API for OIDC operations
Beta API for organizations
Beta API for internal permissions
Beta API for projects
Beta API for sessions
Beta API for settings
Beta API for telemetry
Beta API for users
Beta API for web keys