replaced deprecated minio credentials with cred file in /etc
This commit is contained in:
@@ -32,6 +32,16 @@ in {
|
||||
|
||||
time.timeZone = "Europe/Oslo";
|
||||
|
||||
environment.etc = {
|
||||
minio-rootcredentials = {
|
||||
text = ''
|
||||
accessKey="admin"
|
||||
secretKey="en to tre fire"
|
||||
'';
|
||||
mode = "640";
|
||||
};
|
||||
};
|
||||
|
||||
features = {
|
||||
os = {
|
||||
externalInterface = "eth0";
|
||||
@@ -72,9 +82,10 @@ in {
|
||||
enable = true;
|
||||
region = "fs2";
|
||||
browser = true;
|
||||
accessKey = "admin";
|
||||
secretKey = "en to tre fire";
|
||||
# accessKey = "admin";
|
||||
# secretKey = "en to tre fire"; DEPRECATED
|
||||
listenAddress = "0.0.0.0:9000";
|
||||
rootCredentialsFile = "/etc/minio-rootcredentials";
|
||||
dataDir = [ "/vol/s3" ];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user