k8sec
Command-line interface tool to manage Kubernetes secrets.
k8sec list
- List a specific secret as a base64-encoded string:
k8sec list {secret_name} --base64
k8sec set {secret_name} {key=value}
- Set a base64-encoded value:
k8sec set --base64 {secret_name} {key=encoded_value}
k8sec unset {secret_name}
- Load secrets from a file:
k8sec load -f {path/to/file} {secret_name}
k8sec dump -f {path/to/file} {secret_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).