Skip to content

Commit b0238d4

Browse files
committed
fix(store): don't output secretKey and accessKey
In 33fb20e, the removal of the output redirect for `radosgw-admin user create` means that the accessKey and secretKey are output in the journal when the user is created. As these are secrets, they shouldn't ever be printed. This commit redirects the output of this command to /dev/null.
1 parent 9fc2449 commit b0238d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • store/gateway/bin

store/gateway/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ else
8383
fi
8484

8585
if ! radosgw-admin user info --uid=deis >/dev/null 2>&1 ; then
86-
radosgw-admin user create --uid=deis --display-name="Deis"
86+
radosgw-admin user create --uid=deis --display-name="Deis" >/dev/null
8787
fi
8888

8989
radosgw-admin user info --uid=deis >/etc/ceph/user.json

0 commit comments

Comments
 (0)