You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/02/08 18:06:34 UTC

[jira] [Resolved] (HADOOP-9457) add an SCM-ignored XML filename to keep secrets in (auth-keys.xml?)

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

Steve Loughran resolved HADOOP-9457.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.6.0

the {{hadoop-aws}} and {{hadop-openstack}} modules both do this

> add an SCM-ignored XML filename to keep secrets in (auth-keys.xml?)
> -------------------------------------------------------------------
>
>                 Key: HADOOP-9457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9457
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Steve Loughran
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> to avoid accidentally checking in secrets, I keep auth keys for things like AWS in file called {{auth-keys.xml}} alongside the {{test/resources/core-site.xml}} file, then XInclude them. I also have a global gitignore set up ignore files with that name.
> I propose having a standard name for XML files containing such secrets (we could use auth-keys.xml or something else, and set up {{hadoop-trunk/.gitignore}} and {{svn:ignore}} to ignore them. That way, nobody else will check them in by accident



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