100% Private

Kubernetes Secret Generator - Create K8s Secrets YAML

Generate Kubernetes Secrets with base64 encoding. Create Opaque, docker-registry, and TLS secrets. Copy YAML or kubectl commands instantly.

Usage Example
# Apply the secret
kubectl apply -f secret.yaml

# Use in pod as env var
env:
  - name: DB_PASSWORD
    valueFrom:
      secretKeyRef:
        name: my-secret
        key: password

# Mount as volume
volumes:
  - name: secret-vol
    secret:
      secretName: my-secret

Related Tools

View all Kubernetes configurators →

Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.