Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(167)

Issue 13964043: apiserver/provisioner: Mask out secret env attrs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by dimitern
Modified:
10 years, 7 months ago
Reviewers:
mp+187738, jameinel
Visibility:
Public.

Description

apiserver/provisioner: Mask out secret env attrs This changes the provisioner API EnvironConfig() call to mask out any secret attributes before returning the config to non-manager agents. The environment manager agents still get everything. This closes off a security issue with LXC provisioner having access to the environment configuration and its secrets via the API. Live tested on EC2 successfully. https://code.launchpad.net/~dimitern/juju-core/147-apiprovisioner-blank-env-secrets/+merge/187738 Requires: https://code.launchpad.net/~dimitern/juju-core/146-apiprovisioner-addresses/+merge/187719 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : apiserver/provisioner: Mask out secret env attrs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M state/apiserver/provisioner/provisioner.go View 1 2 chunks +20 lines, -1 line 0 comments Download
M state/apiserver/provisioner/provisioner_test.go View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 5
dimitern
Please take a look.
10 years, 7 months ago (2013-09-26 11:49:26 UTC) #1
jameinel
LGTM given it is the same as the previous submisison which had already been approved.
10 years, 7 months ago (2013-09-26 13:10:37 UTC) #2
jameinel
On 2013/09/26 13:10:37, jameinel wrote: > LGTM given it is the same as the previous ...
10 years, 7 months ago (2013-09-26 13:12:01 UTC) #3
dimitern
On 2013/09/26 13:12:01, jameinel wrote: > On 2013/09/26 13:10:37, jameinel wrote: > > LGTM given ...
10 years, 7 months ago (2013-09-26 13:24:01 UTC) #4
dimitern
10 years, 7 months ago (2013-09-26 16:03:33 UTC) #5
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b