File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Keep file contents in sync with matching parameters in AWS Parameter Store
4
4
## Variables
5
5
6
6
- VERBOSE - enable more logging if set to 1
7
+ - UMASK - optional UMASK value to use for files created
7
8
- FREQUENCY - How often to check for changes (in seconds). Default is 300 seconds (5 minutes).
8
9
- AWS_ACCESS_KEY_ID - The AWS Access Key Id value
9
10
- AWS_SECRET_ACCESS_KEY - The AWS Secret Access Key value
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ if [ "$VERBOSE" ]; then
6
6
VERBOSE=' --verbose'
7
7
fi
8
8
9
+ if [ " $UMASK " ]; then
10
+ echo " setting given UMASK - all files and folders created will use a umask value of $UMASK "
11
+ umask $UMASK
12
+ fi
13
+
9
14
CRED_FOLDER_PATH=/credentials
10
15
11
16
# Check for required ENV Variables
You can’t perform that action at this time.
0 commit comments