Activate a License Key
Activate using an Object Mount License Key
When you first installed Object Mount for Linux, you may have already added your license key with the CUNO_INSTALL_LICENSE environment variable.
- If not, the installer told you to activate Object Mount with
cuno creds activate. - Or you may have renewed an expired license key.
Note: If you do not yet have a license key, reach out to your 🌐 Storj Representative.
In any of the above situations, you can activate (or re-activate) Object Mount with your new license key by entering the cuno creds activate command and following the interactive steps:
Non-Interactive Activation
Alternatively, for non-interactive license key activation, you can point the command to a license key file. The file's permissions must be 0600, 0400 or 0500, otherwise the command rejects it:
You can also pipe the license key into the command as its input:
License File Location
Once activated, the license file is etc/license in the install directory: /opt/cuno/etc/license for a system-wide install, or ~/.local/opt/cuno/etc/license for a single-user install.
By default, the permissions on this file are set to 0600. If needed, Administrators can manually modify the group and permissions to allow other system users access to the cuno CLI command.
Activation for Multiple Users
Normally, activation means that access to Object Mount is limited to the one user who runs the cuno creds activate command.
However, if the user that runs cuno creds activate is root and runs it in a terminal, the command asks whether to give access to the root group and to all other users. When the key is piped in, or set with CUNO_INSTALL_LICENSE during a package install, it does not ask and the license stays readable by root only.