Skip to main content

cloudcoil-models-sealed-secrets

Versioned sealed-secrets models for cloudcoil.

PyPI Downloads License: Apache-2.0 CI

[!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.0

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

Source distribution (sdist)

Source distribution for cloudcoil.models.sealed-secrets 0.39.1.0
File Size Uploaded
cloudcoil_models_sealed_secrets-0.39.1.0.tar.gz 76.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudcoil.models.sealed-secrets 0.39.1.0
File Interpreter ABI Platform
cloudcoil_models_sealed_secrets-0.39.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 88.0 kB

Release files / cloudcoil_models_sealed_secrets-0.39.1.0.tar.gz

Download URL cloudcoil_models_sealed_secrets-0.39.1.0.tar.gz
Size 76.6 kB
Tags Source
SHA-256 checksum
How to use checksums
15b417415ec32eab547b3f540fa8887f04df20997981f52f6e676bb01a16ef12
BLAKE2b-256 checksum
How to use checksums
6641570517980abed9203b96b771c7eb6252ed93b478bb4d2c95bff77b988348
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

Release files / cloudcoil_models_sealed_secrets-0.39.1.0-py3-none-any.whl

Download URL cloudcoil_models_sealed_secrets-0.39.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f392850acb5c95591aa4aff38c5e7d76ac7fc779b9d20950ce506ddc1e42daa
BLAKE2b-256 checksum
How to use checksums
98c9fed141ce18e4d1f64589581a145e349a6354202d60bb92c2bd7f22affcf3
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

Release history Release notifications | RSS feed

This release

0.39.1.0 This release

2 release files

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