On the first Fabric node use the adminInitialCredentials
file for seting the user and password for the Fabric "admin" user. The file will be read when Fabric starts for the first time, and then deleted.
bellow is example:
cp config/adminInitialCredentials.template config/adminInitialCredentials
sed -i 's@user.*@k2consoleadmin/KW4RVG98RR9xcrTv@' config/adminInitialCredentials
Now you can start Fabric, and use the following user and password example:
user: k2consoleadmin
password: KW4RVG98RR9xcrTv
# create second admin user
cqlsh -uadmin -padmin --ssl
create user 'admin2' with password 'Q7xp8GPNmjZp' SUPERUSER;
assign role admin to user admin2;
# Alter the admin with new password
cqlsh -uadmin2 -pQ7xp8GPNmjZp --ssl
ALTER USER admin WITH PASSWORD 'Q7xp8GPNmjZp' SUPERUSER;
Check the connection:
# connect with the following
cqlsh -uadmin2 -pQ7xp8GPNmjZp --ssl
Access points examples:
Fabric WS will be available at:
https://10.10.10.10:9443/deploy
Admin:
https://10.10.10.10:9443/admin/gui/index.html
On the first Fabric node use the adminInitialCredentials
file for seting the user and password for the Fabric "admin" user. The file will be read when Fabric starts for the first time, and then deleted.
bellow is example:
cp config/adminInitialCredentials.template config/adminInitialCredentials
sed -i 's@user.*@k2consoleadmin/KW4RVG98RR9xcrTv@' config/adminInitialCredentials
Now you can start Fabric, and use the following user and password example:
user: k2consoleadmin
password: KW4RVG98RR9xcrTv
# create second admin user
cqlsh -uadmin -padmin --ssl
create user 'admin2' with password 'Q7xp8GPNmjZp' SUPERUSER;
assign role admin to user admin2;
# Alter the admin with new password
cqlsh -uadmin2 -pQ7xp8GPNmjZp --ssl
ALTER USER admin WITH PASSWORD 'Q7xp8GPNmjZp' SUPERUSER;
Check the connection:
# connect with the following
cqlsh -uadmin2 -pQ7xp8GPNmjZp --ssl
Access points examples:
Fabric WS will be available at:
https://10.10.10.10:9443/deploy
Admin:
https://10.10.10.10:9443/admin/gui/index.html