Get a Quote   (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

Cloud Credentials Screens

  10 minute read.

Last Modified 2022-08-25 11:10 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

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 Authentication settings change based on the selection in Provider.

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

Amazon S3 Authentication Settings

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

CloudCredentialsAmzon3AuthenticationSettings

NameDescription
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.
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.
Advanced SettingsSelect to display the optional Endpoint Advanced Options settings.

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

NameDescription
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

NameDescription
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, Google Photo, pCloud, and Yandex.

CloudCredentialsOAuthAccessTokeAuthentication

NameDescription
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 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

NameDescription
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

NameDescription
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.

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

NameDescription
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.

Microsoft OneDrive Authentication

Microsoft OneDrive uses OAuth authentication, access tokens, drives and drive account type and ID to authenticate account credentials.

CloudCredentialsMSOneDriveAuthentication

NameDescription
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 TokenEnter the Microsoft Onedrive access token. Log in to the Microsoft account to add an access token.
Drives ListSelect the drives and IDs registered to the Microsoft account. Selecting a drive also populates the Drive ID field.
Drive Account TypeSelect the type of Microsoft account from the dropdown options, PERSONAL, BUSINESS, or DOCUMENT_LIBRARY. Logging in to a Microsoft account selects the correct account type.
Drive IDEnter the unique drive identifier if not pre-populated after selecting the drive in Drives List. Log in to a Microsoft account and choose a drive from the Drives List dropdown list to add a valid ID.

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

OpenStack Swift Authentication Settings

OpenStack Swift uses several required settings to authenticate credential accounts.

CloudCredentialsOpenStackAuthentication

NameDescription
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).

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

NameDescription
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.

Authentication Advanced Options for v3**

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

CloudCredentialsOpenStackAuthAdvanced

NameDescription
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.

Endpoint Advanced Options Settings

These settings apply to all OpenStack Swift credentials.

CloudCredentialsOpenStacktv3EndpointAdvanced

NameDescription
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

NameDescription
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