UC secrets: supported access to resolved non-secret variables and redaction compatibility
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
Piste de recherche
Start with bundle/direct/dresources/redact_config.go at v1.17.0, which the issue identifies as the location of the string-only redaction check. Review the validation JSON output and bundle variable resolution path to determine whether a supported way to expose selected non-secret resolved values exists. Done means maintainers clarify the compatibility contract and document an existing workflow or define a supported interface with sensitive value handling.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Question
What is the supported way for deployment tooling to consume natively resolved, non-secret bundle variables when a bundle declares Unity Catalog secrets?
We also want to understand the compatibility contract for redaction across variable types. Should downstream tools assume that redaction may expand to complex values in a future release?
Observed behavior
Reproduced with Databricks CLI 1.17.0 on Windows, using disposable resources and a dummy secret:
- Without a UC secret,
bundle validate -o jsonexposes resolved string variable values. - With
resources.secretscontaining a sensitive value, every string variable value becomes[redacted], including unrelated catalog, schema, and warehouse settings. - Integer, boolean, and complex values are not handled the same way by the current redaction implementation.
bundle deploystill resolves and uses the real values internally.
The string-only check is visible in redact_config.go at v1.17.0.
We understand the reason for protecting variable output. We are asking for a supported integration path rather than a guarantee that type-dependent redaction behavior will remain unchanged.
Minimal example
bundle:
name: uc-secret-validation-output
variables:
target_catalog:
default: example_catalog
target_schema:
default: example_schema
api_credential: {}
resources:
secrets:
example_secret:
name: example_secret
catalog_name: ${var.target_catalog}
schema_name: ${var.target_schema}
value: ${var.api_credential}
targets:
dev:
default: true
With an existing workspace profile, using only a dummy value:
$env:BUNDLE_VAR_api_credential = "dummy-value-for-reproduction"
databricks bundle validate --target dev --profile <profile> -o json
The resolved variables.target_catalog.value and variables.target_schema.value are both [redacted]. Removing the UC secret resource makes their normal values visible again. Deployment is not needed to demonstrate the output difference.
Why this matters
Our deployment wrapper uses the same target configuration for pre/post-deployment SQL. It needs the resolved catalog, schema, and warehouse ID, and uses bundle variables when preparing SQL and configuration files.
Reading YAML defaults alone is insufficient: includes, target overrides, environment and file overrides, lookups, and substitutions must agree with native deployment. Reimplementing that resolution logic outside the CLI creates a maintenance and compatibility burden.
Questions for maintainers
- Should external consumers treat all type-dependent visibility in validation JSON as an implementation detail that can change with redaction hardening?
- Is there a supported command, API, or lifecycle hook for obtaining explicitly selected non-secret resolved values without parsing display-oriented output or changing the bundle configuration?
- If not, would you consider such an interface, with an explicit contract for sensitive values and diagnostics?
An existing supported workflow or documentation would also be helpful. We do not need a blanket switch that prints all secrets.
- Langage dominant
- Go
- Étoiles
- 409
- Forks
- 253
- Merge moyen
- 1 j 11 h
- PR mergées (30 j)
- 212
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de databricks/cli
-
Apps commands only accept relative path to app.ymlPeut-être pris @yuri-rod l’a pris il y a 16 jours. OuverteCLI
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
databricks/cli#6910 ·
Les mainteneurs répondent en général sous 1 jour
-
DABs
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
databricks/cli#6670 ·
Les mainteneurs répondent en général sous 1 jour
-
bundle validate does not catch missing trigger.table_update.condition with multiple tablesPeut-être pris @yuri-rod l’a pris il y a 2 jours. OuverteDABs Enhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
databricks/cli#7101 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
databricks/cli#7100 ·
Les mainteneurs répondent en général sous 1 jour
-
DABs
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
databricks/cli#7032 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de databricks/cli
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
grafana/tempo-operator#1691 ·
Les mainteneurs répondent en général sous 1 jour
-
fix: presentation.go with mcp-table.go: the message for each MCP server comes backPeut-être pris @mge1512 l’a pris aujourd’hui. Ouvertebug
Difficulté 1/5 1-3 heures Accessibilité débutants 78/100
mark3labs/kit#242 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Project submission: Sno StationOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
slavakurilyak/awesome-ai-agents#827 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
bug P3
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
mpyw/declscope#262 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour