Skip to main content

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


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.3.5.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

laniakea_api_server-0.3.5-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file laniakea_api_server-0.3.5.tar.gz.

File metadata

  • Download URL: laniakea_api_server-0.3.5.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for laniakea_api_server-0.3.5.tar.gz
Algorithm Hash digest
SHA256 a37800696161932c07c7dca377c681956e796b8be9453baa38ae258815c3a756
MD5 c19bba39f75a053321d5300b8d8bbc2c
BLAKE2b-256 d9a5945d6c9a36151b8834cf5bf6ccf7f8ff2c0e418778ae0e59f6bafe0418a5

See more details on using hashes here.

File details

Details for the file laniakea_api_server-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for laniakea_api_server-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9c618d886450682141e801ea298513efd167a74b5018b911331c2817ccadf10b
MD5 cdcbf8c577257cf621649d282917bec3
BLAKE2b-256 cf21e810655966e532c93cee4556b6280be3fc4d6653bce0cec803dde22d2314

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page