Skip to content

Commit 9d6ab98

Browse files
committed
Bump version, update README and CHANGELOG
1 parent 2e729c4 commit 9d6ab98

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
66

77
## Next
88

9+
## 1.9.0
10+
11+
### User-facing
12+
13+
#### Added
14+
15+
- \#442 Add support for Application Default credentials [mavin]
16+
- This change allows the use of Application Default Credentials so that end
17+
users can authenticate without a service account for development, testing,
18+
and one-off interactions by using `:google_application_default`client
19+
option. See README for more details.
20+
21+
### Fixed
22+
23+
- \#444 Remove deprecated `google_client_email` option from client parameters
24+
[temikus]
25+
- \#446 Updating service parameters to avoid "unrecognised parameter" warnings
26+
when initializing Fog client with application default auth [temikus]
27+
28+
### Development changes
29+
30+
#### Fixed
31+
32+
- \#441 Update CI pipeline to Concourse V4 [temikus]
33+
- \#444 Rework client authentication workflow [temikus]
34+
- Separate different auth streams into private helper methods
35+
- Add a fallback auth option - Google Application Default credentials
36+
- Minor fixes and performance optimizations
37+
938
## 1.8.2
1039

1140
### User-facing

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@ cat .fog.example >> ~/.fog # appends the sample configuration
9494
vim ~/.fog # edit file with yout config
9595
```
9696

97+
As of `1.9.0` fog-google supports Google [application default credentials (ADC)](https://cloud.google.com/docs/authentication/production)
98+
The auth method uses [Google::Auth.get_application_default](https://www.rubydoc.info/gems/googleauth/0.6.7/Google%2FAuth.get_application_default)
99+
under the hood.
100+
101+
Example workflow for a GCE instance with [service account scopes](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances)
102+
defined:
103+
104+
```
105+
> connection = Fog::Compute::Google.new(:google_project => "my-project", :google_application_default => true)
106+
=> #<Fog::Compute::Google::Real:32157700...
107+
> connection.servers
108+
=> [ <Fog::Compute::Google::Server ... ]
109+
```
110+
97111
#### SSH-ing into instances
98112

99113
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`

lib/fog/google/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Fog
22
module Google
3-
VERSION = "1.8.2".freeze
3+
VERSION = "1.9.0".freeze
44
end
55
end

0 commit comments

Comments
 (0)