-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
CLICLI related issuesCLI related issues
Description
Describe the issue
I run any databricks secrets ... command and get an "unsupported protocol scheme" error.
Steps to reproduce the behavior
- Run `databricks secrets list-secrets
- See error:
Error: Get "/api/2.0/secrets/list?scope=key-vault": unsupported protocol scheme ""
Expected Behavior
I should see a list of secrets in the given scope.
Actual Behavior
I got the above error.
OS and CLI version
- Databricks CLI v0.294.0 to v0.295.0
- macOS Tahoe 26.3.1
Is this a regression?
I get no such errors with 0.293.0 and 0.218.0.
Debug Logs
Output of databricks secrets list-secrets <scope-name> --log-level=debug:
12:24:32 Info: start pid=36613 version=0.295.0 args="databricks, secrets, list-secrets, key-vault, --log-level=debug"
12:24:32 Debug: /Users/<me>/.databrickscfg has no DEFAULT profile configured pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "pat": host is required for PAT authentication pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "basic": <nil> pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "oauth-m2m": <nil> pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "databricks-cli": no host provided pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "metadata-service": <nil> pid=36613 sdk=true
12:24:32 Debug: Missing Host pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "github-oidc": missing Host pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "azure-devops-oidc": SYSTEM_ACCESSTOKEN env var not found, if calling from Azure DevOps Pipeline, please set this env var following https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken pid=36613 sdk=true
12:24:32 Debug: Missing Host pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "env-oidc": missing Host pid=36613 sdk=true
12:24:32 Debug: Missing Host pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "file-oidc": missing Host pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "github-oidc-azure": <nil> pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "azure-msi": <nil> pid=36613 sdk=true
12:24:32 Debug: Failed to configure auth "azure-client-secret": <nil> pid=36613 sdk=true
12:24:32 Debug: Running command: az account show --output json pid=36613 sdk=true
12:24:33 Debug: Running command: az account get-access-token --resource --output json pid=36613 sdk=true
12:24:33 Info: Refreshed OAuth token for from Azure CLI, which expires on 2026-03-19 12:57:33.000000 pid=36613 sdk=true
12:24:33 Debug: Running command: az account show --output json pid=36613 sdk=true
12:24:33 Debug: Running command: az account get-access-token --resource --output json pid=36613 sdk=true
12:24:34 Info: Refreshed OAuth token for from Azure CLI, which expires on 2026-03-19 12:57:33.000000 pid=36613 sdk=true
12:24:34 Info: Using Azure CLI authentication with AAD tokens pid=36613 sdk=true
12:24:34 Debug: GET /api/2.0/secrets/list?scope=key-vault
< Error: Get "/api/2.0/secrets/list?scope=key-vault": unsupported protocol scheme "" pid=36613 sdk=true
12:24:34 Debug: non-retriable error: Get "/api/2.0/secrets/list?scope=key-vault": unsupported protocol scheme "" pid=36613 sdk=true
Error: Get "/api/2.0/secrets/list?scope=key-vault": unsupported protocol scheme ""
12:24:34 Info: failed execution pid=36613 exit_code=1 error="Get \"/api/2.0/secrets/list?scope=key-vault\": unsupported protocol scheme \"\""
12:24:34 Debug: no telemetry logs to upload pid=36613
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CLICLI related issuesCLI related issues