|
Add a credentials service
A new crdentials service provides 2 APIs:
- AuthorisedKeys
- WatchAuthorisedKeys
These will be used by a new machine agent worker to update
the local copy of ~/.ssh/authorised_keys
I added also a AuthStateManager API to compliment the
AuthEnvironManager API. I want the ability to query
ssh keys to be limited to machines running the StateManager
job, which is not guaranteed to be the same machine as
used for provisioning.
https://code.launchpad.net/~wallyworld/juju-core/ssh-key-watcher/+merge/197814
Requires: https://code.launchpad.net/~wallyworld/juju-core/ssh-auth-keys/+merge/197813
(do not edit description out of merge proposal)
Total comments: 3
Total comments: 7
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+508 lines, -24 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/api/keyupdater/authorisedkeys.go
|
View
|
1
2
3
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/api/keyupdater/authorisedkeys_test.go
|
View
|
1
2
3
4
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/api/keyupdater/package_test.go
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/state.go
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/agent/agent_test.go
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/common/interfaces.go
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/deployer/deployer_test.go
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
state/apiserver/keyupdater/authorisedkeys.go
|
View
|
1
2
3
4
5
|
1 chunk |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/apiserver/keyupdater/authorisedkeys_test.go
|
View
|
1
2
3
4
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/apiserver/keyupdater/package_test.go
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/machine/common_test.go
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/provisioner/provisioner_test.go
|
View
|
1
2
3
4
|
7 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/root.go
|
View
|
1
2
3
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/root_test.go
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/testing/fakeauthorizer.go
|
View
|
1
|
2 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
state/apiserver/uniter/uniter_test.go
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/apiserver/upgrader/upgrader_test.go
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 14
|