Descriptionapiserver/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 #
MessagesTotal messages: 5
|