Backing up and Restoring Access Keys (Tenant Data)
Access keys can be backed up and restored by using the asnodeadmin tool. Only master access keys can be directly backed up, not sub-access keys, but backing up a master access key backs up all associated sub-access keys, too.
Access keys are not backed up when you back up the Node API user database (Backing up and Restoring the Node User Database Records), but they are if you back up the entire Redis database (Backing up and Restoring a Node Database).
Back up Access Keys
Run the following command for each access key:
# /opt/aspera/bin/asnodeadmin --access-key access_key_id --access-key-backup filename
Where filename is the AOF file to which the access key data is saved.
Restore Access Keys
Run the following command:
# /opt/aspera/bin/asnodeadmin [-u username] --access-key-restore filename
Use the -u username option to change the Node API user (and
system user) associated with the restored access key.