<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,13 +16,9 @@ Helps you manage your DNS entries on the slicehost DNS server via a local YAML f
   
 ## SYNOPSIS
 
-Get an example file:
-
-    slicehost-dns --example &gt; example.yml
-
-Rename example.yml to config.yml, edit the &quot;api&quot; value to your api key, and dump your current settings
-from slicehost to config.yml:
+Set your API key and dump your current config:
 
+    export SLICEHOST_API_KEY=234897293823984729390470fkbslkdfjbh
     slicehost-dns --dump config.yml
 
 Make some changes and push them back, but do a dry run first because we're not sure:</diff>
      <filename>README.mkdn</filename>
    </modified>
    <modified>
      <diff>@@ -33,8 +33,9 @@ dump = ARGV.delete('--dump')
 dry_run = ARGV.delete('--dry')
 filename = ARGV.shift
 config = YAML.load_file(filename)
-API = config.delete('api')
-$TTL = 43200 # 12 hours. 
+
+API = ENV['SLICEHOST_API_KEY'] || config.delete('api')
+raise ArgumentError, &quot;no API key found&quot; if API.nil?
 
 $:.unshift File.dirname(__FILE__)
 require 'zone'</diff>
      <filename>lib/slicehost-dns.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a1adad2b3ba79135925db0133e15e107aebcd959</id>
    </parent>
  </parents>
  <author>
    <name>Matt Lyon</name>
    <email>matt@flowerpowered.com</email>
  </author>
  <url>http://github.com/mattly/slicehost-dns/commit/168899b67be8489d94f08e5ec96dbbb162e97fdc</url>
  <id>168899b67be8489d94f08e5ec96dbbb162e97fdc</id>
  <committed-date>2009-02-10T17:33:40-08:00</committed-date>
  <authored-date>2009-02-10T17:33:40-08:00</authored-date>
  <message>allow specifying the slicehost API key in an environment variable, so you can stick your config file in source control without the API key</message>
  <tree>1571886ec39c2cb40bf7ec87a7d8baf136e03ae7</tree>
  <committer>
    <name>Matt Lyon</name>
    <email>matt@flowerpowered.com</email>
  </committer>
</commit>
