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

YAML support for google_json_key_string #418

Open
SaxtonDrey opened this issue May 31, 2021 · 1 comment
Open

YAML support for google_json_key_string #418

SaxtonDrey opened this issue May 31, 2021 · 1 comment

Comments

@SaxtonDrey
Copy link
Contributor

Hi.

I tryed to use google_json_key_string added by #415 .
But there is no way to load google_json_key_string from YAML file because it isn't present in Config#load_yml .

self.rackspace_api_key = yml["rackspace_api_key"]
self.google_json_key_location = yml["google_json_key_location"] if yml.has_key?("google_json_key_location")
self.google_project = yml["google_project"] if yml.has_key?("google_project")
self.google_storage_secret_access_key = yml["google_storage_secret_access_key"] if yml.has_key?("google_storage_secret_access_key")
self.google_storage_access_key_id = yml["google_storage_access_key_id"] if yml.has_key?("google_storage_access_key_id")
self.existing_remote_files = yml["existing_remote_files"] if yml.has_key?("existing_remote_files")

@SaxtonDrey
Copy link
Contributor Author

I made PR #419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant