laniakea-api-server 0.3.2__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/PKG-INFO +1 -1
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/queue.py +3 -1
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/pyproject.toml +1 -1
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/.github/workflows/publish.yml +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/.gitignore +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/LICENSE +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/README.md +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/__init__.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/auth.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/cli.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/config.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/credential_parser.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/database.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/installer.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/main.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/models.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/.health.py.swp +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/__init__.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/agent.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/agents.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/credentials.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/deployments.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/health.py +0 -0
- {laniakea_api_server-0.3.2 → laniakea_api_server-0.3.4}/laniakea_api/routers/tfstate.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: laniakea-api-server
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Laniakea Queue API — OIDC-authenticated gateway for cloud deployment orchestration
|
|
5
5
|
Project-URL: Homepage, https://github.com/laniakea/laniakea-api
|
|
6
6
|
Project-URL: Issues, https://github.com/laniakea/laniakea-api/issues
|
|
@@ -3,6 +3,7 @@ Redis connection and RQ queue setup
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
import hvac
|
|
6
|
+
import os
|
|
6
7
|
from fastapi import HTTPException, status
|
|
7
8
|
from redis import Redis
|
|
8
9
|
from rq import Queue
|
|
@@ -150,7 +151,8 @@ def vault_list_service_creds(user_sub: str) -> list:
|
|
|
150
151
|
out = []
|
|
151
152
|
for n in names:
|
|
152
153
|
data = vault_read_service_creds(user_sub, n)
|
|
153
|
-
out.append({"name": n, "service_type": _infer_service_type(data)
|
|
154
|
+
out.append({"name": n, "service_type": _infer_service_type(data),
|
|
155
|
+
"os_auth_url": data.get("os_auth_url", "")}) # public endpoint, not a secret
|
|
154
156
|
return out
|
|
155
157
|
|
|
156
158
|
def vault_read_service_creds(user_sub: str, name: str) -> dict:
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "laniakea-api-server"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.4"
|
|
8
8
|
description = "Laniakea Queue API — OIDC-authenticated gateway for cloud deployment orchestration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|