The Lamassu IoT Go SDK provides a comprehensive set of HTTP-based client libraries for interacting with Lamassu services, including Certificate Authority (CA) management, Device Management, DMS (Device Management Service), and Key Management Service (KMS).Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lamassuiot/lamassuiot/llms.txt
Use this file to discover all available pages before exploring further.
Architecture
The SDK is structured around service-specific clients that communicate with Lamassu backend services via HTTP/HTTPS. All clients follow a consistent pattern:- HTTP-based communication with support for various authentication methods
- Type-safe interfaces using Go generics
- Context-aware operations for cancellation and timeout support
- Structured error handling with predefined error mappings
- Pagination support for list operations
Available Clients
CA Client
Manages Certificate Authorities, certificates, issuance profiles, and cryptographic operations.Device Manager Client
Handles device lifecycle management, device groups, and device metadata.DMS Manager Client
Manages DMS instances and device identity binding operations.KMS Client
Provides key management operations including key creation, import, signing, and verification.Key Features
Authentication Support
The SDK supports multiple authentication methods:- Mutual TLS (mTLS) - Certificate-based authentication
- JWT/OAuth2 - Token-based authentication with OIDC support
- API Key - Header-based API key authentication
- No Auth - For development environments
HTTP Client Configuration
Build customized HTTP clients with:Custom Headers
Inject custom headers into all requests:Query Parameters and Filtering
The SDK provides powerful filtering and pagination capabilities:Exhaustive Iteration
Many list operations support exhaustive iteration to retrieve all results:Error Handling
The SDK maps HTTP status codes to specific error types from theerrs package:
Next Steps
- Installation Guide - Set up the SDK in your project
- CA Client - Certificate Authority operations
- Device Manager Client - Device management
- DMS Manager Client - DMS operations
- KMS Client - Key management operations
