How to create a new storj identity
Step 1. Create a new Email address
Create an email address using the storage.node001@miningcompany.nl naming convention. This will be used to generate an authentication token.
Save the credentials under a new node entry in 1Password
Step 2 (optional). Install storj identity manager
curl -L https://github.com/storj/storj/releases/latest/download/identity_linux_amd64.zip -o identity_linux_amd64.zip
unzip -o identity_linux_amd64.zip
chmod +x identity
sudo mv identity /usr/local/bin/identity
Step 2. Get an authorization token
Use the newly created email address to create an authorization token. This will later be used to authorize a new identity.
Save the credentials under the newly created node entry in 1Password
Step 3. Generate an identity
identity create storagenode001
Step 4. Authorize the identity
Use the authorization token gained during step 2 and authorize the newly generated identity
identity authorize storagenode001 <email_address:authorization_token>
Step 5. Copy files for use
Copy all the identity files from /home/daisy/.local/share/storj/identity/storagenode001 to /home/daisy/storj/node001/identity
sudo cp /home/daisy/.local/share/storj/identity/storagenode002/identity.cert /home/daisy/storj/node002/identity/
sudo cp /home/daisy/.local/share/storj/identity/storagenode002/identity.key /home/daisy/storj/node002/identity/
sudo cp /home/daisy/.local/share/storj/identity/storagenode002/ca.cert /home/daisy/storj/node002/identity/
sudo cp /home/daisy/.local/share/storj/identity/storagenode002/ca.key /home/daisy/storj/node002/identity/