Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70419

[OT] Testing and credentials best practices?

X-Received by 10.236.88.210 with SMTP id a58mr14982475yhf.50.1398011795206; Sun, 20 Apr 2014 09:36:35 -0700 (PDT)
X-Received by 10.50.29.110 with SMTP id j14mr393228igh.5.1398011794933; Sun, 20 Apr 2014 09:36:34 -0700 (PDT)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!m5no3640293qaj.1!news-out.google.com!gi6ni537igc.0!nntp.google.com!c1no1157361igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 20 Apr 2014 09:36:34 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=79.179.9.62; posting-account=uo-8fwoAAACKsFzFX78JHudx1V7WDXZ0
NNTP-Posting-Host 79.179.9.62
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <267e12d3-ea01-4886-bfa7-5c7270adbe92@googlegroups.com> (permalink)
Subject [OT] Testing and credentials best practices?
From Miki Tebeka <miki.tebeka@gmail.com>
Injection-Date Sun, 20 Apr 2014 16:36:34 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1522
X-Received-Body-CRC 2708670812
Xref csiph.com comp.lang.python:70419

Show key headers only | View raw


Greetings,

How do you deal with tests (both on dev machine and Jenkins) that need credentials (such as AWS keys)?. I know of the following methods:

1. Test user with known (stored in source control) limited credentials
2. ~/.secrets (or any other known location) RC file which is not in source control
3. Credentials service (such as ZooKeeper) accessed only from VPN
4. Credentials pre user encrypted (gpg) and stored in source control

What method are you using? Are there any best practices in the subject?

Thanks,
--
Miki

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[OT] Testing and credentials best practices? Miki Tebeka <miki.tebeka@gmail.com> - 2014-04-20 09:36 -0700
  Re: [OT] Testing and credentials best practices? Chris Angelico <rosuav@gmail.com> - 2014-04-21 02:45 +1000
    Re: [OT] Testing and credentials best practices? Miki Tebeka <miki.tebeka@gmail.com> - 2014-04-21 12:03 -0700
  Re: [OT] Testing and credentials best practices? Roy Smith <roy@panix.com> - 2014-04-20 14:32 -0700

csiph-web