Skip to content

Kubeseal VSCode Extension

Kubeseal Icon

Version Downloads Rating License

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

Video Demonstration

Watch the extension in action:

Kubeseal VSCode Extension Demo

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