You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vikram Janarthanan (Jira)" <ji...@apache.org> on 2021/10/13 14:34:00 UTC

[jira] [Commented] (AMBARI-25690) Secure S3A credentials on hive-jecks file

    [ https://issues.apache.org/jira/browse/AMBARI-25690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428268#comment-17428268 ] 

Vikram Janarthanan commented on AMBARI-25690:
---------------------------------------------

Solution:

On Ambari server host - Add below s3a credential property template on

/var/lib/ambari-server/resources/stacks/HDP/3.0/services/HIVE/configuration/hive-site.xml

 

  <property require-input="false">

    <name>*fs.s3a.secret.key</*name>

    <value/>

    <property-type>PASSWORD</property-type>

    <display-name>Ceph S3A Secret</display-name>

    <description>Ceph s3a credential - fs.s3a.secret.key</description>

    <value-attributes>

      <overridable>true</overridable>

      <type>password</type>

      <empty-value-valid>true</empty-value-valid>

      <hidden>HIVE_CLIENT,CONFIG_DOWNLOAD</hidden>

      <keystore>true</keystore>

    </value-attributes>

    <on-ambari-upgrade add="false"/>

  </property>

  <property require-input="false">

    <name>*fs.s3a.access.key*</name>

    <value/>

    <property-type>PASSWORD</property-type>

    <display-name>Ceph S3A Access</display-name>

    <description>Ceph s3a credential - fs.s3a.access.key</description>

    <value-attributes>

      <overridable>true</overridable>

      <type>password</type>

      <empty-value-valid>true</empty-value-valid>

      <hidden>HIVE_CLIENT,CONFIG_DOWNLOAD</hidden>

      <keystore>true</keystore>

    </value-attributes>

    <on-ambari-upgrade add="false"/>

  </property>

> Secure S3A credentials on hive-jecks file 
> ------------------------------------------
>
>                 Key: AMBARI-25690
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25690
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: ambari-server
>         Environment: Ambari 2.7
>            Reporter: Vikram Janarthanan
>            Priority: Minor
>
> Secure S3A credentials ( fs.s3a.secret.key & fs.s3a.access.key) on hive-site.jceks file 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)