Skip to main content

mystiko

Collect Kubernetes secrets into a python dictionary. For use by python applications running in Docker containers.

Install

Install package:

pip install mystiko

Usage

Assuming you have given Kubernetes a secret with key “db-password”:

from mystiko import k8s
k8s_secrets = k8s.get_secrets()
db_pwd = k8s_secrets['DB_PASSWORD']

The default secrets directory is /etc/secrets/. If you are using a different directory, supply it to the get_secrets function:

from mystiko import k8s
k8s_secrets = k8s.get_secrets(directory='/your/directory/')

Name

“Kubernetes” is Greek for “helmsman” or “pilot.” Following that theme, “mystiko” is Greek for “secret.”

Release files for mystiko 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mystiko 0.2
File Size Uploaded
mystiko-0.2.tar.gz 1.9 kB Details

Release files / mystiko-0.2.tar.gz

Download URL mystiko-0.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c55a293ea2acbe23e04a914749c2e0c948b13e135f5c2a42d55b3358b64d5a2c
BLAKE2b-256 checksum
How to use checksums
ef114009804dfe81ffba4a1e6e3768ecb45a41d91e8486a40c2da4c5af69a105
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page