Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • In cdap-site.xml, set security.store.provider to file:

    Code Block
    <property>
      <name>security.store.provider</name>
      <value>file</value>
      <description>
        Backend provider for the secure store
      </description>
    </property>
  • To protect the secure storage file, in cdap-security.xml, set security.store.file.password to a password:

    Code Block
    <property>
      <name>security.store.file.password</name>
      <value>your password</value>
      <description>
        Password to access the key store
      </description>
    </property>
  • You can also configure the path and filename of the backing file in cdap-site.xml by adding these ( optional ) settings:

    Code Block
    <property>
      <name>security.store.file.path</name>
      <value>${local.data.dir}/store</value>
      <description>
        Location of the encrypted file which holds the secure store entries
      </description>
    </property>
    
    <property>
      <name>security.store.file.name</name>
      <value>securestore</value>
      <description>
        Name of the secure store file
      </description>
    </property>

...

For additional information on integration with Hadoop KMS, refer to see Apache Hadoop Key Management Server (KMS).

...