https://github.com/noahburrell0/sealed-secrets-ui
A web interface and API for encrypting secrets for use with Bitnami sealed secrets
https://github.com/noahburrell0/sealed-secrets-ui
gui kubernetes sealed-secrets secret-management
Last synced: 5 months ago
JSON representation
A web interface and API for encrypting secrets for use with Bitnami sealed secrets
- Host: GitHub
- URL: https://github.com/noahburrell0/sealed-secrets-ui
- Owner: noahburrell0
- License: apache-2.0
- Created: 2023-03-12T16:52:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T17:58:03.000Z (over 1 year ago)
- Last Synced: 2024-11-29T18:19:09.728Z (over 1 year ago)
- Topics: gui, kubernetes, sealed-secrets, secret-management
- Language: Python
- Homepage:
- Size: 19.3 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Sealed Secrets UI
[](https://opensource.org/licenses/Apache-2.0) [](https://artifacthub.io/packages/search?repo=sealed-secrets-ui)

## Introduction
This application is designed to provide a web-based GUI for encrypting values for use with Bitnami Sealed Secrets.
This application currently supports:
- All Kubeseal scopes (`strict`, `namespace-wide`, and `cluster-wide`)
- Context selection
- Multiple Kubeconfig files
- Automatic context discovery from Kubeconfig files
- Encryption of raw text (kubeseal `--raw` equivilent)
- Whole file encryption (kubeseal `--raw --from-file` equivilent) with in-browser file uploads
- Kubeconfig authentication against GKE (gke-gcloud-auth-plugin)
- Direct API calls to seal secrets
This application currently **does not** support:
- Converting Kubernetes Secret manifests to SealedSecret manifests (yet)
- Any sort of authentication to the API or web UI
- Setting the namespace that the Sealed Secrets operator is installed to (must be `kube-system`)
- Authentication against any cloud provider (excluding Google) that require an authentication plugin
## Install With Helm
View the [chart docs](charts/sealed-secrets-ui/) for installation instructions and parameters.
## Running Locally
> Developed and tested with Python 3.10, not guarenteed to work with other versions.
1. Create a Python virtual environment.
```
python -m venv ./venv
```
2. Activate the virtual environment.
```
source venv/bin/activate
```
3. Setup the Kubeconfig directory.
```
export KUBECONF_DIR="/path/to/my/kubeconfigs"
```
4. Install requirements.
```
pip install -r requirements.txt
```
5. Run in local development mode.
```
python main.py
```
6. UI should be reachable at `http://localhost:5000/` by default.
## API Usage
For API usage information, please see [API.md](API.md).