You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Miklos Gergely (JIRA)" <ji...@apache.org> on 2017/01/19 19:06:27 UTC

[jira] [Reopened] (AMBARI-19427) Ambari-server: Annotate PASSWORD properties with an attribute to indicate that they are credential store aware properties

     [ https://issues.apache.org/jira/browse/AMBARI-19427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Miklos Gergely reopened AMBARI-19427:
-------------------------------------

The new keystore field in ValueAttributesInfo should be handled in equals, hashCode, and toString too.

> Ambari-server: Annotate PASSWORD properties with an attribute to indicate that they are credential store aware properties
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19427
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19427
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>             Fix For: 2.5.0
>
>         Attachments: rb55348.patch
>
>
> In service configuration files, password properties are of type PASSWORD. When credential store usage is enabled for the feature, all such properties will be encrypted and placed in the configuration's JCEKS provider and will not be available in plain text in the command JSON. 
> However, there are situations where certain password properties should not be moved into the configuration's JCEKS provider but left as plain text in the command JSON for clients which are not credential store aware to consume.
> To take of this, password properties that are to be moved to JCEKS provider should be annotated with a new attribute, "keystore" to explicitly indicate that these properties are credential store aware.
> {code}
>  <property require-input="true">
>     <name>oozie.service.JPAService.jdbc.password</name>
>     <value/>
>     <display-name>Database Password</display-name>
>     <property-type>PASSWORD</property-type>
>     <description>
>       DB user password.
>       IMPORTANT: if password is emtpy leave a 1 space string, the service trims the value,
>       if empty Configuration assumes it is NULL.
>     </description>
>     <value-attributes>
>       <type>password</type>
>       <overridable>false</overridable>
>       *<keystore>true</keystore>*
>     </value-attributes>
>     <on-ambari-upgrade add="true"/>
>   </property>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)