Merge pull request #67 from arikalfus/patch-1
Let users choose AWS_SHARED_CREDENTIALS_FILE
This commit is contained in:
@@ -17,6 +17,9 @@ import re
|
|||||||
from tabulate import tabulate
|
from tabulate import tabulate
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
|
# Let a user set .aws/credentials or another file as the credentials source
|
||||||
|
# If user-defined, must be an absolute path
|
||||||
|
if 'AWS_SHARED_CREDENTIALS_FILE' not in os.environ:
|
||||||
os.environ['AWS_SHARED_CREDENTIALS_FILE'] = '.env'
|
os.environ['AWS_SHARED_CREDENTIALS_FILE'] = '.env'
|
||||||
|
|
||||||
# If you want to use a transparent + supports SSL proxy you can put it here
|
# If you want to use a transparent + supports SSL proxy you can put it here
|
||||||
|
|||||||
Reference in New Issue
Block a user