Added query params to get values in plain text

This commit is contained in:
Ultradesu
2025-09-15 15:00:23 +03:00
parent 963e34a9dc
commit 2ed2959ed2

View File

@@ -20,6 +20,10 @@ kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
```
## Security
⚠️ **The service has no built-in authentication**. Use a proxy for auth (nginx, oauth2-proxy, etc).
## Configuration
Edit `deployment.yaml` to specify which secrets to display:
@@ -31,3 +35,10 @@ args:
- "--namespace"
- "k8s-secrets"
```
## API Usage
```bash
# Get secret field as plaintext
curl "http://localhost:3000/secret?name=my-secret&field=password"
```