documentation for credential.

This commit is contained in:
astroshim 2016-10-30 15:48:21 +09:00
parent df1b1dcae8
commit df80741e46
4 changed files with 9 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View file

@ -116,7 +116,11 @@ The JDBC interpreter properties are defined by default like below.
</tr>
</table>
If you want to connect other databases such as `Mysql`, `Redshift` and `Hive`, you need to edit the property values.
If you want to connect other databases such as `Mysql`, `Redshift` and `Hive`, you need to edit the property values.
You can also use [Credential](../security/datasource_authorization.html) for JDBC authentication.
If you does not define the `default.user` and `default.password` for connecting a database in the interpreter properties,
the JDBC interpreter are going to get the account information from [Credential](../security/datasource_authorization.html).
The below example is for `Mysql` connection.
<img src="../assets/themes/zeppelin/img/docs-img/edit_properties.png" width="600px" />

View file

@ -37,7 +37,9 @@ You can add new credentials in the dropdown menu for your data source which can
<img class="img-responsive" src="../assets/themes/zeppelin/img/docs-img/credential_tab.png" width="180px"/>
**Entity** can be the key that distinguishes each credential sets. Type **Username & Password** for your own credentials. ex) user & password of Mysql
**Entity** can be the key that distinguishes each credential sets.(We suggest that the convention of the **Entity** is `[InterpreterName].[Alias]`.)
Type **Username & Password** for your own credentials. ex) user & password of Mysql
<img class="img-responsive" src="../assets/themes/zeppelin/img/docs-img/add_credential.png" />

View file

@ -59,7 +59,7 @@ limitations under the License.
</thead>
<tr>
<td>
<input id="entityname" ng-model="entity" placeholder="[InterpreterName].[alias]"/>
<input id="entityname" ng-model="entity" placeholder="[InterpreterName].[Alias]"/>
</td>
<td>
<textarea msd-elastic ng-model="username"></textarea>