Add Rancher cloud account
You need to add a Rancher cloud account in Portworx Backup before adding a Rancher cluster if you need to map projects for Rancher clusters.
To add a Rancher cloud account:
-
Login and access Portworx Backup home page.
-
At the bottom of left navigation pane, click Settings > Cloud Settings.
-
In the Cloud Settings page, under Cloud Accounts, click Add:
-
In the Add Cloud Account page, select Rancher from the Please choose a cloud provider drop-down list.
-
Provide a cloud account name of your choice.
noteNote down the API endpoint in the below format to fetch the Endpoint details:
<protocol>://<hostname>:<port>
-
Enter a valid API endpoint and secret key. Refer Create users and Create API keys for instructions to fetch endpoint and secret key.
-
Click Add.
Portworx Backup successfully adds a Rancher cloud account and displays it in the Cloud Accounts section of Cloud Settings page.
You can also edit the Rancher cloud account to update the Endpoint (when there is change in setup) and Bearer Token (if the secret key expires) details when needed: