cloudcoil-models-sealed-secrets
Versioned sealed-secrets models for cloudcoil.
[!WARNING]
This repository is auto-generated from the cloudcoil repository. Please do not submit pull requests here. Instead, submit them to the main repository at https://github.com/cloudcoil/cloudcoil.
🔧 Installation
[!NOTE] For versioning information and compatibility, see the Versioning Guide.
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
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 | |
|---|---|---|---|
| cloudcoil_models_sealed_secrets-0.39.1.1.tar.gz | 81.2 kB | 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 log