cloudcoil-models-sealed-secrets
Versioned sealed-secrets models for cloudcoil.
🔧 Installation
Using uv (recommended):
# Install with Sealed Secrets support
uv add cloudcoil.models.sealed-secrets
Using pip:
pip install cloudcoil.models.sealed-secrets
💡 Examples
Using Sealed Secrets Models
from cloudcoil import apimachinery
import cloudcoil.models.sealed_secrets.v1alpha1 as sealed_secrets
# Create a SealedSecret
sealed_secret = sealed_secrets.SealedSecret(
metadata=apimachinery.ObjectMeta(name="mysecret"),
spec=sealed_secrets.SealedSecretSpec(
encrypted_data={
"username": "AgBy8hCi8...", # Your encrypted data here
"password": "AgBy8hCi8..." # Your encrypted data here
}
)
).create()
# List SealedSecrets
for secret in sealed_secrets.SealedSecret.list():
print(f"Found SealedSecret: {secret.metadata.name}")
Using the Fluent Builder API
Cloudcoil provides a powerful fluent builder API for Sealed Secrets resources:
from cloudcoil.models.sealed_secrets.v1alpha1 import SealedSecret
# Create a SealedSecret using the fluent builder
sealed_secret = (
SealedSecret.builder()
.metadata(lambda metadata: metadata
.name("mysecret")
.namespace("default")
.labels({"app": "myapp"})
)
.spec(lambda spec: spec
.encrypted_data({
"username": "AgBy8hCi8...", # Your encrypted data here
"password": "AgBy8hCi8..." # Your encrypted data here
})
.template(lambda template: template
.metadata(lambda t_metadata: t_metadata
.labels({"app": "myapp"})
)
.type("Opaque")
)
)
.build()
)
Using the Context Manager Builder API
For complex sealed secret configurations, you can use the context manager-based builder:
from cloudcoil.models.sealed_secrets.v1alpha1 import SealedSecret
# Create a SealedSecret using context managers
with SealedSecret.new() as secret:
with secret.metadata() as metadata:
metadata.name("mysecret")
metadata.namespace("default")
with secret.spec() as spec:
spec.encrypted_data({
"username": "AgBy8hCi8...", # Your encrypted data here
"password": "AgBy8hCi8..." # Your encrypted data here
})
with spec.template() as template:
template.type("Opaque")
with template.metadata() as t_metadata:
t_metadata.labels({"app": "myapp"})
final_secret = secret.build()
📚 Documentation
For complete documentation, visit cloudcoil.github.io/cloudcoil
📜 License
Apache License, Version 2.0 - see LICENSE
Metadata
Release files for cloudcoil.models.sealed-secrets 0.39.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 | |
|---|---|---|---|---|
| cloudcoil_models_sealed_secrets-0.39.1.1.tar.gz | 81.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudcoil_models_sealed_secrets-0.39.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.6 kB
Release files / cloudcoil_models_sealed_secrets-0.39.1.1.tar.gz
| Download URL | cloudcoil_models_sealed_secrets-0.39.1.1.tar.gz |
|---|---|
| Size | 81.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e18c84691d216cae3d6494c8bd4513f73862264a547097dc116853e4a260fe6
|
|
BLAKE2b-256 checksum How to use checksums |
2a97be60b2d11ab7156649a8fb4952d3ed85325ba6a6c8cabc320aba9a33e396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / cloudcoil_models_sealed_secrets-0.39.1.1-py3-none-any.whl
| Download URL | cloudcoil_models_sealed_secrets-0.39.1.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e46df29a163634bd3d087aa884fd93a7f95af20fec46e461ee51b354b8688866
|
|
BLAKE2b-256 checksum How to use checksums |
373cf72dc6d7792c31adb6ac5b105880c69c8e6bb1af9ff743daa303baf11ab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logSecurity for cloudcoil.models.sealed-secrets 0.39.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cloudcoil_models_sealed_secrets-0.39.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logA 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.