3.1.7 Distribute a Wallet

You may need to move or copy your Exascale user wallet to connect using various different Exascale clients. However, for security reasons the Exascale user wallet is tied to the host where it is created. So, you cannot simply copy the wallet directory and its contents.

To copy your Exascale user wallet, you must create a new wallet on the desired host and populate it with the required user credentials. To move an Exascale user wallet, you must create a copy of the wallet and then delete the original.

If you have the required user credentials, then you can use the procedures described in:

If you do not have the required user credentials, then you can get them from the existing wallet by using the ESCLI lswallet command.

For example, the following command displays the Exascale user identifier and the Exascale control services endpoint that are stored in the wallet at /home/user/user.wallet:

@> lswallet --wallet /home/user/user.wallet --attributes user,restEndPoint

In the following example, the private key is extracted from the wallet and stored in a regular PEM file located at /home/user/priv.pem:

@> lswallet --wallet /home/user/user.wallet --private-key-file /home/user/priv.pem