kubeconfig
kubeconfig is a simple Python module for manipulating Kubernetes kubeconfig files.
from kubeconfig import KubeConfig
conf = KubeConfig()
conf.set_context('new-context', cluster='other-cluster', user='my-user')
conf.use_context('new-context')
print(conf.view())
Installing
pip install kubeconfig
Example usage cases
Generating configs for users
Tooling that manages switching between multiple clusters or users
Cycling credentials out in a config
Updating CA cert entries in your config
Documentation
See the documentation for more details on usage.
License
kubeconfig is licensed under the BSD 3-Clause License.
Metadata
Release files for kubeconfig 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kubeconfig-1.1.1.tar.gz | 4.9 kB | Without provenance | Details for kubeconfig-1.1.1.tar.gz |
Release files / kubeconfig-1.1.1.tar.gz
| Download URL | kubeconfig-1.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3982b074c47f2ebe8e75c887fb6745d8860a4d87a51bc96c7a42c03721186990
|
|
BLAKE2b-256 checksum How to use checksums |
0b98bc4f16dd258b73b57c2706604d4dc5741867e8ca30b2f36bb8ca9718ec69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for kubeconfig 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.