Kubernetes Secret generator

Turn a .env file into a Kubernetes Secret.

Encode environment values into an Opaque Secret manifest without sending credentials to a server.

Private by designYour configuration never leaves this device.
ComposeMorph tool.env → Kubernetes Secret
07

.env Kubernetes Secret

Encode environment values into a Secret manifest locally.

.env
5 lines
secret.yaml
Your Kubernetes Secret manifest will appear here.

Supports comments, export statements, quoted values, Unicode, duplicate detection, and an optional # secret-name directive.

What it converts

Useful output, with the mappings made visible.

  • KEY=value assignments into base64-encoded Secret data
  • Quoted values, Unicode, export statements, and comments
  • An optional # secret-name directive into metadata.name

What to review

Generated does not mean ready to deploy.

  • Base64 is reversible encoding, not encryption
  • Whether your secret should be managed by an external secret store
  • Repository history, access controls, and deployment delivery