Skip to main content

vibedata-dlt-studio-secrets

Shared Secret Store registration for the Studio execution units of the VibeData dlt runtime. A dependency package, not a runnable distribution.

A Domain binds one Secret Store — local_toml, azure_key_vault, studio_key_vault, motherduck_flight_secrets, aws_secrets_manager, or databricks_secret_scope, or none (no Secret Store bound) — independently of its Data Platform (ADR-0022). dlt reads a local_toml store natively from the mounted secrets.toml; every other kind needs a dlt config provider registered in the same interpreter before the first dlt.secrets read. Every Studio unit (Fabric Lakehouse, Fabric Warehouse, DuckDB/MotherDuck) performs that registration through this package, so the behaviour is identical whichever destination the pipeline targets.

from vibedata.dlt.studio_secrets import register_secret_provider

register_secret_provider()   # reads VD_DOMAIN_SECRET_STORE_KIND; registers what that kind needs
  • register_secret_provider() — the kind-gated entry point every unit's setup_environment() calls first. Raises ValueError when the kind is absent or unknown; registers nothing for local_toml. For motherduck_flight_secrets it registers the Flight secrets provider, whose store is a Flight's injected environment: in this container that resolves nothing, so a credential a container run needs fails where dlt names the field rather than here. For databricks_secret_scope it registers nothing: only the Databricks job that runs the pipeline reads the scope (dbutils.secrets). For none it registers a provider that resolves nothing, so a credential a run needs fails where dlt names the field, and the trace names the missing Secret Store.
  • register_akv_provider(vault_url=None) — the bare Azure registration, for a process with no destination to configure (source-connection verification). Idempotent: a second call in the same interpreter is a no-op.
  • AzureKeyVaultProvider — the dlt provider. Authenticates through Studio's credential broker on the runtime-declared identity lane — or, on a CI runner with VD_DLT_CREDENTIAL_SOURCE=ci-azure, as the runner's Azure identity (studio_azure_credential()) — and maps the dlt key to a vault secret name. A vault answer of 401 or 403 raises KeyVaultAccessDeniedError naming the vault and the secret, so an access problem is never reported as a missing secret.
  • register_studio_key_vault_provider(vault_url=None) — registers the Internal Studio Key Vault provider. It reads the IAT from the private credential file for each request and calls Studio's AKV-compatible api-version=7.4 Get Secret endpoint directly; it does not invoke the credential broker. Under VD_DLT_CREDENTIAL_SOURCE=ci-azure a studio_key_vault Domain fails at registration ("studio_key_vault is not available in CI").
  • register_aws_secrets_manager_provider(location=None, region=None) — registers the AWS Secrets Manager provider (aws_secrets_manager, which lives in vibedata-dlt-core). Reads VD_DOMAIN_SECRET_STORE_LOCATION (the ARN prefix arn:<partition>:secretsmanager:<region>:<account>:secret:<namePrefix>), never .dlt/config.toml, and VD_DOMAIN_SECRET_STORE_REGION, else the ARN's region. A provider of that name already registered without vd-secrets is refused. It builds boto3.Session(profile_name="vd-secrets"), whose credential_process is Studio's vd-aws-credential helper; no credential enters the environment or touches disk, and botocore re-runs the helper before the session expires. GetSecretValue is called by name (<namePrefix> + the dotted dlt key as /-separated segments, case preserved, _ untouched), never by ARN. ResourceNotFoundException (and a secret marked for deletion) is "not found", so the next dlt provider is consulted. AccessDeniedException, KMS decrypt denials, a rejected session and a failed credential_process (including the Broker's aws_secrets_manager_sentinel_missing) raise AwsSecretsManagerConfigurationError carrying the message, never "not found".

Metadata

Release files for vibedata-dlt-studio-secrets 0.9.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 vibedata-dlt-studio-secrets 0.9.0
File Size Uploaded Provenance Actions
vibedata_dlt_studio_secrets-0.9.0.tar.gz 18.2 kB With provenance Details for vibedata_dlt_studio_secrets-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vibedata-dlt-studio-secrets 0.9.0
File Interpreter ABI Platform Actions
vibedata_dlt_studio_secrets-0.9.0-py3-none-any.whl Python 3 none any Details for vibedata_dlt_studio_secrets-0.9.0-py3-none-any.whl

Total release size: 28.6 kB

Release files / vibedata_dlt_studio_secrets-0.9.0.tar.gz

Download URL vibedata_dlt_studio_secrets-0.9.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
009dc6841a91cb3c4f81da40f48cdffa975100f05283257d2ae0c18dfd4dd465
BLAKE2b-256 checksum
How to use checksums
6b932c69867364b14277146d2d843eb6f69e101c351797a4ebea5dee812a7a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Release files / vibedata_dlt_studio_secrets-0.9.0-py3-none-any.whl

Download URL vibedata_dlt_studio_secrets-0.9.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
078adc9bbc510c56e2e4f9fbfb13d9ce89e76165dbd53e73e6b474cd3a994d59
BLAKE2b-256 checksum
How to use checksums
6a87d65f4035c3f60875cd1169922dec98947ef50d547a587b348ab882660043
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Security for vibedata-dlt-studio-secrets 0.9.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vibedata_dlt_studio_secrets-0.9.0.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 Nov 6, 2026.

Transparency log

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.

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