Skip to content

Commit

Permalink
Merge pull request #447 from Temikus/release-1_9_0
Browse files Browse the repository at this point in the history
Release 1.9.0 🚀
  • Loading branch information
Temikus authored Mar 22, 2019
2 parents 2e729c4 + 9d6ab98 commit 9f9dc99
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html

## Next

## 1.9.0

### User-facing

#### Added

- \#442 Add support for Application Default credentials [mavin]
- This change allows the use of Application Default Credentials so that end
users can authenticate without a service account for development, testing,
and one-off interactions by using `:google_application_default`client
option. See README for more details.

### Fixed

- \#444 Remove deprecated `google_client_email` option from client parameters
[temikus]
- \#446 Updating service parameters to avoid "unrecognised parameter" warnings
when initializing Fog client with application default auth [temikus]

### Development changes

#### Fixed

- \#441 Update CI pipeline to Concourse V4 [temikus]
- \#444 Rework client authentication workflow [temikus]
- Separate different auth streams into private helper methods
- Add a fallback auth option - Google Application Default credentials
- Minor fixes and performance optimizations

## 1.8.2

### User-facing
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@ cat .fog.example >> ~/.fog # appends the sample configuration
vim ~/.fog # edit file with yout config
```

As of `1.9.0` fog-google supports Google [application default credentials (ADC)](https://cloud.google.com/docs/authentication/production)
The auth method uses [Google::Auth.get_application_default](https://www.rubydoc.info/gems/googleauth/0.6.7/Google%2FAuth.get_application_default)
under the hood.

Example workflow for a GCE instance with [service account scopes](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances)
defined:

```
> connection = Fog::Compute::Google.new(:google_project => "my-project", :google_application_default => true)
=> #<Fog::Compute::Google::Real:32157700...
> connection.servers
=> [ <Fog::Compute::Google::Server ... ]
```

#### SSH-ing into instances

If you want to be able to bootstrap SSH-able instances, (using `servers.bootstrap`,) be sure you have a key in `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub`
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/google/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Fog
module Google
VERSION = "1.8.2".freeze
VERSION = "1.9.0".freeze
end
end

0 comments on commit 9f9dc99

Please sign in to comment.