github.com/smugmug/godynamo@v0.0.0-20151122084750-7913028f6623/conf/SAMPLE-aws-config.json (about)

     1  {
     2      "extends":[],
     3      "services": {
     4          "default_settings":{
     5              "params":{
     6                  "access_key_id":"xxx",
     7                  "secret_access_key":"xxx",
     8                  "use_sys_log":true
     9              }
    10          },
    11          "dynamo_db": {
    12              // Your dynamo hostname.
    13              "host":"dynamodb.us-east-1.amazonaws.com",
    14              // Your zone.
    15              "zone":"us-east-1",
    16              // The scheme/port can be changed to https/443.
    17              "scheme":"http",
    18              "port":80,
    19  	    // If set to true, programs that are written with godynamo may
    20  	    // opt to launch the keepalive goroutine to keep conns open.
    21              "keepalive":true,
    22              "iam": {
    23                  // Set to true to use IAM authentication.
    24                  "use_iam":true,
    25                  // The role provider is described in the goawsroles package.
    26                  // See: https://github.com/smugmug/goawsroles/
    27                  // Currently the only support is for the "file" provider, whereby
    28                  // roles data is written to local files.
    29                  "role_provider":"file",
    30                  // The identifier (filename, etc) for the IAM Access Key
    31                  "access_key":"role_access_key",
    32                  // The identifier (filename, etc) for the IAM Secret Key
    33                  "secret_key":"role_secret_key",
    34                  // The identifier (filename, etc) for the IAM Token
    35                  "token":"role_token",
    36                  // If using the "file" role provider, the base dir to read IAM files.
    37                  "base_dir":"/dir/where/you/update/role_files",
    38                  // Set to true if you would like the roles resource watched for changes
    39                  // and automatically (and atomically) updated.
    40                  "watch":true
    41              }
    42          }
    43      }
    44  }