Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI credentials for Google Cloud Storage #10160

Closed
cyberduck opened this issue Dec 1, 2017 · 1 comment
Closed

CLI credentials for Google Cloud Storage #10160

cyberduck opened this issue Dec 1, 2017 · 1 comment
Labels
cli Command Line Interface feature worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

2f5e014 created the issue

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 6.3.1.27192

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli Command Line Interface feature worksforme
Projects
None yet
Development

No branches or pull requests

1 participant