TrueNAS SCALETrueNAS SCALE Version Documentation
This content follows the TrueNAS SCALE 23.10 (Cobia) releases. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.

Cloud Credentials Screens

  10 minute read.

Last Modified 2024-04-24 14:31 EDT

The Backup Credentials screen displays the Cloud Credentials, SSH Connections and SSH Keypairs widgets.

Cloud Credentials Widget

The Cloud Credentials widget displays a list of cloud storage credentials configured on the system.

BackupCredentialsCloudCredentialsWidget

Before adding cloud credentials for a cloud storage provider, the Cloud Credentials widget displays No Cloud Credentials configured.

CloudCredentialsNoCredentials

Add opens the Cloud Credentials configuration screen.

Click the name of a cloud credential to open the Cloud Credentials configuration screen populated with the settings for that credential.

Cloud Credentials Screen

The Cloud Credentials configuration screen displays settings to add or edit cloud credentials TrueNAS uses to integrate with cloud storage providers.

CloudCredentialsAdd

These providers are supported for Cloud Sync tasks in TrueNAS SCALE:

Use Verify Credentials after entering the authentication settings to verify you can access the cloud storage provider account with the credentials you entered.

Name and Provider Settings

The selection in Provider changes the Authentication settings.

SettingDescription
ProviderRequired. Default is set to Storj. Select the cloud storage provider from the options on the dropdown list.
NameEnter a name for this cloud credential. For example, cloud1 or amazon1.

Storj Authentication Settings

Storj authentication includes going to the Storj-TrueNAS sign-in screen to either create a new Storj-TrueNAS account or log into an existing Storj-TrueNAS account, and then returning to SCALE to enter the S3 credentials provided by Storj for this credential.

CloudCredentialsAdd

SettingDescription
Signup for accountLink to the Storj-TrueNAS account sign-up page where you either create a new account or sign into your Storj-TrueNAS account.
Access Key IDEnter the alphanumeric key provided by Storj when you create the S3 account access associated with the storage buckets added in Storj.
Secret Access KeyEnter the alphanumeric key provided by Storj when you create the S3 account access associated with the storage buckets added in Storj.

Amazon S3 Authentication Settings

Amazon S3 has basic authentication and advanced authentication settings. This section provides information on the basic authentication settings.

CloudCredentialsAmzon3AuthenticationSetting

SettingDescription
Access Key IDEnter the alphanumeric key that is between 5 and 20 characters for the Amazon Web Services Key ID. Find this on Amazon AWS by going through My account > Security Credentials > Access Keys (Access Key ID and Secret Access Key).
Secret Access KeyEnter the alphanumeric key that is between 8 and 40 characters for the Amazon Web Services password. If you cannot find the Secret Access Key, go to My Account > Security Credentials > Access Keys and create a new key pair.

Amazon S3 Advanced Authentication Options

This section provides information on Amazon S3 advanced authentication settings for endpoints. The basic authentication settings are required when using the advanced settings.

CloudCredentialsAmzon3AdvancedAuthSettings

SettingDescription
Maximum Upload PortsEnter a value to define the maximum number of chunks for a multipart upload. Setting a maximum is necessary if a service does not support the 10,000 chunk AWS S3 specification.
Endpoint URLOptional. When using AWS, you can leave the endpoint field empty to use the default endpoint for the region and automatically fetch available buckets, or enter an S3 API endpoint URL. Refer to the AWS Documentation for a list of Simple Storage Service Website Endpoints.
RegionOptional. Enter an AWS resources in a geographic area. Leave empty to detect the correct public region for the bucket. Entering a private region name allows interacting with Amazon buckets created in that region. For example, enter us-gov-east-1 to discover buckets created in the eastern AWS GovCloud region.
Disable Endpoint RegionSelect to skip automatic detection of the endpoint URL region and to configuring a custom Endpoint URL.
User Signature Version 2Select to force using Signature Version 2 to sign API requests. Select this when configuring a custom Endpoint URL.

BackBlaze B2 Authentication Settings

This section provides information on the BackBlaze B2 authentication settings.

CloudCredentialsBackBlazeB2Authentication

SettingDescription
Key IDEnter or copy and paste the alphanumeric Backblaze B2 Application Key ID string into this field. To generate a new application key, log in to the Backblaze account, go to the App Keys page, and add a new application key.
Application KeyEnter or copy and paste the alphanumeric Backblaze B2 Application Key string into this field. To generate a new application key, log in to the Backblaze account, go to the App Keys page, and add a new application key.

OAuth and Access Token Authentication Settings

Several cloud storage providers use OAuth authentication and a required access token to authenticate the cloud storage account. Providers that use these methods are Box, Dropbox, pCloud, and Yandex.

CloudCredentialsOAuthAccessTokeAuthentication

SettingDescription
OAuth Client IDEnter the public identifier for the cloud application.
OAuth Client SecretEnter the secret phrase known only to the cloud application and the authorization server.
TokenEnter a User Access Token for Box. An access token enables Box to verify a request belongs to an authorized session. Example token: T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl.
HostnamepCloud only. Optional. Enter the host name to connect to.

Use Login to Provider to enter the account username and password.

FTP and SMTP Authentication Settings

FTP and SMTP cloud storage providers use host name, port, and user credentials to authenticate accounts. SMTP uses SSH hosts, port, and user credentials and also uses a private key.

CloudCredentialsHostPortUserCredPrivateKeyAuth

SettingDescription
HostEnter the FTP host name or for SMTP the SSH host name to connect. For example, ftp.example.com.
PortEnter the FTP or for SMTP, the SSH port number. Leave blank to use the default port 21 for FTP or 22 for SMTP.
UsernameEnter a username on the FTP or for the SMTP host system the SSJ user name. This user must already exist on the host.
PasswordEnter the password for the user account.
Private Key IDSNMP only. Import the private key from an existing SSH keypair or, if no keypairs exist on the system, select Add on the SSH Keypairs widget to open the SSH Keypairs screen. Enter a name, and then click Generate New to create a new SSH key for this credential.

Google Cloud Storage Authentication Settings

Google Cloud Storage authentication uses a Google service account json key credential file generated by the Google Cloud Platform Console to authenticate the account. Obtain the json file, download it to the system server and then upload it to the Preview JSON Service Account Key field. Use Choose File to browse to the file location on the server.

Google Drive Authentication Settings

Google Drive uses OAuth authentication, a required access token, and a team drive ID to authenticate accounts.

CloudCredentialsGoogleDriveAuthentication

SettingDescription
OAuth Client IDEnter the public identifier for the cloud application.
OAuth Client SecretEnter the secret phrase known only to the cloud application and the authorization server.
Access TokenRequired. Token created with Google Drive. Access Tokens expire periodically, so you must refresh them.
Team Drive IDOptional. Only needed when connecting to a Team Drive, and is the top-level folder ID for the Team Drive.

Use Login to Provider to enter the account username and password.

Google Photos Authentication Settings

Google Photos uses an OAuth Client ID, OAuth Client Secret, and an access token to authenticate accounts. See Adding Google Photos Cloud Credentials for more information.

GooglePhotosAPIAddCloudCredentials

SettingDescription
OAuth Client IDEnter the Client ID generated with the Google API dashboard.
OAuth Client SecretEnter the Client Secret generated with the Google API dashboard.
Access TokenEnter the token created with rclone.

HTTP Authentication Settings

HTTP uses a HTTP host URL to authenticate account credentials.

Hubic Authentication Settings

Hubic uses an access token to authenticate the account. Enter the token generated by a Hubic account into the Access Token field.

Mega Authentication Settings

Mega uses the username and password for the MEGA user account to authenticate the account credentials.

Microsoft Azure Blob Storage Authentication Settings

Microsoft Azure Blob Storage uses the Microsoft Azure account name and account key to authenticate the account credentials.

CloudCredentialsMSAzureBlogStorageAuth

SettingDescription
Account NameEnter the Microsoft Azure account name.
Account KeyEnter the base64 encoded key for Azure account.
EndpointEnter an endpoint. For example, blob.core.usgovcloudapi.net.

OpenStack Swift Authentication Settings

OpenStack Swift uses several required settings to authenticate credential accounts. The AuthVersion setting selection changes setting options displayed in Advanced Options.

CloudCredentialsOpenStackAuthentication

SettingDescription
User NameRequired. Enter the OpenStack user name (OS_USERNAME) from an OpenStack credentials file.
API Key or PasswordRequired. Enter the Openstack API key or password. This is the OS_PASSWORD from an OpenStack credentials file.
Authentication URLRequired. Enter the authentication URL for the server. This is the OS_AUTH_URL from an OpenStack credentials file.
AuthVersionSelect the authentication version from the dropdown list if your auth URL has no version (rclone documentation).

OpenStack Authentication Advanced Options

The AuthVersion option selected changes the settings displayed in Authentication Advanced Options. Auto(vX), v1, and v2 use the same advanced authentication settings but V3 displays additional settings.

CloudCredentialsOpenStackAuthAdvanced

SettingDescription
Tenant NameEnter the OS_TENANT_NAME from an OpenStack credentials file.
Tenant ID(Optional for v1 auth) Enter the tenant ID Enter the tenant ID. For more information see rclone documentation.
Auth Token(Optional) Enter the auth token from alternate authentication. For more information see rclone documentation.
Region Name(Optional) Enter the region name. For more information see rclone documentation.
Storage URL(Optional) Enter the storage URL. For more information see rclone documentation.
Endpoint TypeSelect service catalogue option from the Endpoint Type dropdown. Options are Public, Internal and Admin. Public is recommended. For more information see rclone documentation.

When v3 is the AuthVersion option settings Authentication Advanced Options displays additional settings.

CloudCredentialsOpenStackAuthAdvancedV3

SettingDescription
User IDOptional. Enter the user ID to log in. To log into most swift systems leave this blank. For more information see rclone documentation.
User DomainOptional. Enter the user domain. For more information see rclone documentation.
Tenant NameRequired. Enter the OS_TENANT_NAME from an OpenStack credentials file.
Tenant IDRequired for v2 and v3. Enter the tenant ID. For more information see rclone documentation.
Tenant DomainOptional. Enter the tenant domain. For more information see rclone documentation.
Auth TokenOptional. Enter the auth token from alternate authentication. For more information see rclone documentation.
Region NameOptional. Enter the region name. For more information see rclone documentation.
Storage URLOptional. Enter the storage URL. For more information see rclone documentation.
Endpoint TypeSelect service catalogue option from the Endpoint Type dropdown. Options are Public, Internal and Admin. Public is recommended. For more information see rclone documentation.

WebDAV Authentication Settings

WebDAV uses the URL, service type and user credentials to authenticate the account credentials.

CloudCredentialWebDAVAuthentication

SettingDescription
URLRequired. Enter the URL of the HTTP host to connect to.
WebDAV ServiceRequired. Select the name of the WebDAV site, service, or software used from the dropdown list. Options are NEXTCLOUD, OWNCLOUD, SHAREPOINT, or OTHER.
UsernameRequired. Enter the WebDAV account user name.
PasswordRequired. Enter the WebDAV account password.

Related Content

Related Backup Articles

Related WebDAV Articles