-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
bugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bug
Description
Summary
When trying to query the dependencies of a package that is protected by an installation key, it throws an error that the installation key should be provided but there is no flag to input the installation key.
sf package version displaydependencies --package 04t... -v ...
Returns
Error (1): Please provide installationkey when querying against SubscriberPackageVersion that is protected by installationkey
Also Trying to insert the installation key will trow the error that this is an unknown flag:
sf package version displaydependencies --package 04t... -v ... -k ...
Returns
Error (2): Nonexistent flag: -k
Steps To Reproduce
See above
Expected result
Displaying the dependencies
Actual result
Throws an error
Additional information
System Information
zsh, macos
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.108.6",
"nodeVersion": "node-v24.9.0",
"osVersion": "Darwin 25.1.0",
"rootPath": "/opt/homebrew/Cellar/sf/2.108.6/libexec/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.35 (core)",
"@oclif/plugin-commands 4.1.33 (core)",
"@oclif/plugin-help 6.2.33 (core)",
"@oclif/plugin-not-found 3.2.68 (core)",
"@oclif/plugin-plugins 5.4.47 (core)",
"@oclif/plugin-search 1.2.31 (core)",
"@oclif/plugin-update 4.7.7 (core)",
"@oclif/plugin-version 2.2.33 (core)",
"@oclif/plugin-warn-if-update-available 3.1.48 (core)",
"@oclif/plugin-which 3.2.40 (core)",
"@salesforce/cli 2.108.6 (core)",
"agent 1.24.13 (core)",
"apex 3.8.1 (core)",
"api 1.3.3 (core)",
"auth 3.9.8 (core)",
"code-analyzer 5.7.0 (user) published 8 days ago (Tue Dec 02 2025) (latest is 5.7.1)",
"data 4.0.57 (core)",
"deploy-retrieve 3.23.3 (core)",
"info 3.4.88 (core)",
"limits 3.3.67 (core)",
"marketplace 1.3.8 (core)",
"org 5.9.30 (core)",
"packaging 2.20.5 (core)",
"schema 3.3.82 (core)",
"settings 2.4.48 (core)",
"sobject 1.4.73 (core)",
"telemetry 3.6.57 (core)",
"templates 56.3.65 (core)",
"trust 3.7.113 (core)",
"user 3.6.38 (core)"
]
}Metadata
Metadata
Assignees
Labels
bugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bug