Getting Started
SDK
Learn how to integrate and use the Authed SDK in your applications
Installation
Install the Authed SDK using pip:
Basic setup
The easiest way to get started is to use our authed init setup
command, which will:
- Generate a secure key pair for your agent
- Create a new agent under your provider
- Set up your environment variables automatically
Initialize the SDK
After running the setup command, you can initialize the SDK using environment variables:
If you need more control, you can also initialize explicitly:
Environment Variables
The SDK uses these environment variables (automatically configured by authed init setup
):
Variable | Required | Description |
---|---|---|
AUTHED_REGISTRY_URL | Yes | Registry URL |
AUTHED_AGENT_ID | For outgoing | Agent ID for requests |
AUTHED_AGENT_SECRET | For outgoing | Agent secret |
AUTHED_PRIVATE_KEY | For outgoing | Private key for signing |
AUTHED_PUBLIC_KEY | For incoming | Public key for verification |