Laniakea Queue API — OIDC-authenticated gateway for cloud deployment orchestration
Project description
laniakea-api-server
Laniakea Queue API — OIDC-authenticated gateway for cloud deployment orchestration.
Installation
pip install laniakea-api-server
Configuration
Create a .env file:
# Auth
SECRET_KEY=generate-with-python3-secrets-token-hex-32
SESSION_TTL_MINUTES=60
OIDC_DISCOVERY_URL=https://iam.your-provider.it/.well-known/openid-configuration
# Agent pool password
AGENT_MASTER_PASSWORD=generate-with-python3-secrets-token-hex-32
# Redis
REDIS_HOST=your-redis-host
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password
# PostgreSQL
PG_HOST=your-pg-host
PG_PORT=5432
PG_DATABASE=your-db-name
PG_USER=your-db-user
PG_PASSWORD=your-db-password
# Vault
VAULT_ADDR=https://your-vault:8200
VAULT_WRITER_TOKEN=hvs.xxxxxxxxxxxx
VAULT_TLS_VERIFY=false
# TLS (only needed with --ssl flag)
SSL_KEYFILE=certs/api.key
SSL_CERTFILE=certs/api.crt
# Logs
DEPLOYMENT_LOG_DIR=/var/log/laniakea-agent
Usage
# HTTP (testing)
laniakea-api --port 8000
# HTTPS (production)
laniakea-api --port 8443 --ssl
# Custom env file
laniakea-api --env /etc/laniakea/api.env --ssl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
laniakea_api_server-0.1.0.tar.gz
(14.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file laniakea_api_server-0.1.0.tar.gz.
File metadata
- Download URL: laniakea_api_server-0.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37913323be3ed3c80c884e34bacd5f8ff8697c864cf555b5a9cd382b0c09331e
|
|
| MD5 |
b96f2d769b7325dd4fa0678d8dbd26b9
|
|
| BLAKE2b-256 |
f24d9edea4987345617946aaedfd17f961f79bd5fe50cd3d3815b6638330ae5d
|
File details
Details for the file laniakea_api_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: laniakea_api_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
757d668f566f4edeec2823c3afaeeae2e2ca4377163708504942bb2c1ea45afb
|
|
| MD5 |
a3dfe2b1afbdaafa65306ccbaca99b93
|
|
| BLAKE2b-256 |
4c9ec432ffe5f381f8920661f2cce7f41612e36859af40486b11892768fb2a96
|