Skip to content

ElmCompany/seal-cli

Repository files navigation

Test Status Latest Release

Overview

This is a wrapper CLI of kubeseal CLI, specifically the raw mode.

If you just need to encrypt your secret on RAW mode, this CLI will be the easy way.

Prerequisies

Getting started

  • built it make build
  • use it ./seal-cli -s MyPassWord -h https://seal.company.lan

where https://seal.company.lan is the base URL of your seale-secret controller

Usage

cluster wide - sealed secret can be used in any namespace

seal -s MyPassWord123 -h https://seal.company.lan

namespace wide - sealed secret can be used only in a specific namespace

seal -s MyPassWord123 -h https://seal.company.lan -n mynamespace

strict - sealed secret can be used only in a specific namespace & for specific secret resource (mysecret)

seal -s MyPassWord123 -h https://seal.company.lan -n mynamespace -name mysecret

Dry run - preview the kubeseal command behind the scenes

# append it to any command, and it show the underline command instead of the real execution
seal [ ... ] -dry-run

License

LGPL v3