Authentication Commands
Manage authentication settings and user access for your Coconut instance.nut auth init
Initialize the authentication system.
nut auth add-user
Add a user to the authentication whitelist.
nut auth list-users
List all whitelisted users.
nut auth toggle
Enable or disable authentication.
Disabling authentication removes access control. Only do this in trusted, private environments.
Authentication Workflow
1
Initialize authentication
Run
nut auth init to set up the authentication system.2
Add users
Use
nut auth add-user to whitelist users who should have access.3
Verify users
Check the user list with
nut auth list-users to ensure all authorized users are added.4
Toggle as needed
Use
nut auth toggle to enable or disable authentication when required.