Kubeseal VSCode Extension¶
A VS Code extension that integrates Bitnami Sealed Secrets into your editor, allowing you to encrypt/decrypt Kubernetes secrets and encode/decode base64 values directly from VS Code.
Features¶
- Encrypt Secrets -- Right-click on YAML files containing Kubernetes secrets to encrypt them using kubeseal
- Decrypt Secrets -- Retrieve the original content of sealed secrets from your Kubernetes cluster
- Base64 Encoding/Decoding -- Encode and decode base64 values in Kubernetes secret data fields
- Certificate Management -- Configure a folder containing multiple kubeseal certificates and easily switch between them
- Status Bar Integration -- Click on the status bar to select which certificate to use for encryption
- Context Menu Integration -- Access kubeseal operations directly from the file explorer and editor context menus
Quick Links¶
- Quick Start Guide -- Get up and running in minutes
- Usage Guide -- Detailed usage instructions and workflows
- Configuration Reference -- All available settings and commands
- Contributing Guide -- How to contribute to the project
Video Demonstration¶
Watch the extension in action:
How It Works¶
graph LR
A[Secret YAML] -->|Encrypt with Kubeseal| B[kubeseal CLI]
B -->|Uses certificate| C[SealedSecret YAML]
C -->|Safe to commit| D[Git Repository]
D -->|Deploy| E[Kubernetes Cluster]
E -->|Decrypt via kubectl| F[Original Secret] Requirements¶
| Tool | Purpose | Required For |
|---|---|---|
kubeseal | Encrypts secrets using certificates | Encryption |
kubectl | Retrieves secrets from cluster | Decryption |
| VS Code 1.80.0+ | Editor | All operations |
| Node.js 20+ | Development | Building from source |
