-
Notifications
You must be signed in to change notification settings - Fork 5
/
.envrc
55 lines (41 loc) · 1.53 KB
/
.envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#! /usr/bin/env bash
##########################################
# DO NOT MAKE LOCAL CHANGES TO THIS FILE #
# #
# Vars in this file can be overridden by #
# exporting them in .envrc.local #
##########################################
# Add local paths for binaries and scripts
PATH_add ./bin
PATH_add ./scripts
#####################
# AWS Configuration #
#####################
# Set profile for command-line tools (aws, chamber, etc.)
export AWS_PROFILE=default
# Have aws-vault use the login keychain for better timeout behavior
export AWS_VAULT_KEYCHAIN_NAME=login
# Make Chamber read ~/.aws/config
export AWS_SDK_LOAD_CONFIG=1
#########################
# Chamber Configuration #
#########################
# Make Chamber use the AWS SSM backend (this is the default, but written here for documentation)
export CHAMBER_SECRET_BACKEND=ssm
# Make Chamber use the default AWS KMS key
export CHAMBER_KMS_KEY_ALIAS='alias/aws/ssm'
# Make Chamber use path based keys ('/' instead of '.')
export CHAMBER_USE_PATHS=1
##############################################
# Environment Variables for Project #
# Override these in .envrc.local #
##############################################
##############################################
# Load Local Overrides and Check Environment #
##############################################
# Load a local overrides file. Any changes you want to make for your local
# environment should live in that file.
if [ -e .envrc.local ]
then
source_env .envrc.local
fi