Cyberduck Mountain Duck CLI

#10160 closed feature (worksforme)

CLI credentials for Google Cloud Storage

Reported by: btully Owned by:
Priority: normal Milestone: 7.0
Component: cli Version: 6.3.1
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: macOS 10.12


Is it possible to programmatically enter the credentials for a google cloud connection via the cli interface? Two issues arise when I enter from the command line prompt.

First, I have to get an authentication key from Google. Even though I have connected via CyberDuck to the same server, with the same credentials, I am asked for a key. Can this be retrieved from a keychain?

Second, I have to enter the project id at a prompt. With regard to this second issue, what is the format to put the project id into the server string?

I currently use gs://bucket-name/ and the error I get is

Listing directory / failed. Invalid argument. Unknown project id: 0. Please contact your web hosting service provider for assistance.

I believe anything after the last slash will be thought of as a folder. Can I enter a project id on the same line?

Please advise

I am running

Change History (3)

comment:1 Changed on Dec 18, 2017 at 4:51:13 PM by dkocher

  • Summary changed from CLI credentials for Google Cloud to CLI credentials for Google Cloud Storage

comment:2 Changed on Dec 18, 2017 at 4:53:36 PM by dkocher

Please set your project id with --username <x-goog-project-id>.

comment:3 Changed on Dec 18, 2017 at 4:53:44 PM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.