Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.69 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.69 KB

cs_sdk_python.api_client

Async REST API client for Cobalt Strike API (API 1.0.0-BETA), generated with OpenAPI Generator 7.14.0 and the Python asyncio library.

See the SDK README for installation, authentication, and a complete example. Python 3.13+ is required.

Documentation for API Endpoints

All URIs are relative to https://localhost:50443.

Documentation for Models

Request and response models are linked from the endpoint reference pages above.

Authentication

BearerAuthentication

Set Configuration.access_token to a JWT returned by SecurityApi.authenticate_user. The login endpoint does not require an existing token. Tokens are not refreshed automatically; request a new token when needed.

from cs_sdk_python.api_client import Configuration

config = Configuration(host="https://localhost:50443")
config.access_token = "your-access-token"

The host is the server origin, without an /api suffix. TLS certificate verification is enabled by default; set config.ssl_ca_cert for a private CA.