GitHub user herval opened a pull request:
https://github.com/apache/zeppelin/pull/2599
[ZEPPELIN-2952] encrypt credentials.json with AES
### What is this PR for?
Support encrypting passwords using a private key
### What type of PR is it?
Improvement
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2952
### How should this be tested?
- Set the env variable `ZEPPELIN_CREDENTIALS_ENCRYPT_KEY=something`
- Save a few credentials
- Check that the `credentials.json` file is storing encrypted passwords
- Restart server using the same env variable for
`ZEPPELIN_CREDENTIALS_ENCRYPT_KEY`
- The credentials should still be decryptable
### Questions:
* Does the licenses files need update?
No
* Is there breaking changes for older versions?
No
* Does this needs documentation?
Yes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/herval/zeppelin encrypt-credentials
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2599.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2599
----
commit c3e0ead0a4ba18d1131ffa008858593030b4776a
Author: Herval Freire <[email protected]>
Date: 2017-08-04T17:51:37Z
encrypt credentials.json with AES
----
---