cloudsync.credentials.create¶
Create Cloud Sync Credentials.
attributes is a dictionary of valid values which will be used to authorize with the provider.
No Additional Items
Tuple Validation
Parameter 1: cloud_sync_credentials_create
cloud_sync_credentials_create
Type: objectCloud credential configuration data for the new credential.
No Additional PropertiesName
Type: stringHuman-readable name for the cloud credential.
Must be at least 1
characters long
Provider
Cloud provider configuration including type and authentication details.
AzureBlobCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Microsoft Azure Blob storage.
Must be one of:
- "AZUREBLOB"
"AZUREBLOB"
Account
Type: stringAzure Blob Storage account name for authentication.
Must be at least 1
characters long
Key
Type: stringAzure Blob Storage access key for authentication.
Must be at least 1
characters long
Endpoint
Default: ""Custom Azure Blob Storage endpoint URL. Empty string for default endpoints.
Must be one of:
- ""
""
Must be at least 1
characters long
Must be at most 2083
characters long
B2CredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Backblaze B2 storage.
Must be one of:
- "B2"
"B2"
Account
Type: stringBackblaze B2 account ID for authentication.
Must be at least 1
characters long
Key
Type: stringBackblaze B2 application key for authentication.
Must be at least 1
characters long
BoxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Box cloud storage.
Must be one of:
- "BOX"
"BOX"
Client Id
Type: string Default: ""Box OAuth application client ID.
Client Secret
Type: string Default: ""Box OAuth application client secret.
Token
Type: stringBox OAuth access token for API authentication.
Must be at least 1
characters long
DropboxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Dropbox storage.
Must be one of:
- "DROPBOX"
"DROPBOX"
Client Id
Type: string Default: ""Dropbox OAuth application client ID.
Client Secret
Type: string Default: ""Dropbox OAuth application client secret.
Token
Type: stringDropbox OAuth access token for API authentication.
Must be at least 1
characters long
FTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for FTP.
Must be one of:
- "FTP"
"FTP"
Host
Type: stringFTP server hostname or IP address.
Must be at least 1
characters long
Port
Type: integer Default: 21FTP server port number.
User
Type: stringFTP username for authentication.
Must be at least 1
characters long
Pass
Type: stringFTP password for authentication.
GoogleCloudStorageCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Google Cloud Storage.
Must be one of:
- "GOOGLE_CLOUD_STORAGE"
"GOOGLE_CLOUD_STORAGE"
Service Account Credentials
Type: stringJSON service account credentials for Google Cloud Storage authentication.
Must be at least 1
characters long
GoogleDriveCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Google Drive.
Must be one of:
- "GOOGLE_DRIVE"
"GOOGLE_DRIVE"
Client Id
Type: string Default: ""OAuth client ID for Google Drive API access.
Client Secret
Type: string Default: ""OAuth client secret for Google Drive API access.
Token
Type: stringOAuth access token for Google Drive authentication.
Must be at least 1
characters long
Team Drive
Type: string Default: ""Google Drive team drive ID or empty string for personal drive.
GooglePhotosCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Google Photos.
Must be one of:
- "GOOGLE_PHOTOS"
"GOOGLE_PHOTOS"
Client Id
Type: string Default: ""OAuth client ID for Google Photos API access.
Client Secret
Type: string Default: ""OAuth client secret for Google Photos API access.
Token
Type: stringOAuth access token for Google Photos authentication.
Must be at least 1
characters long
HTTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for HTTP.
Must be one of:
- "HTTP"
"HTTP"
Url
Type: stringFormat: uriHTTP URL for file access.
Must be at least 1
characters long
Must be at most 2083
characters long
HubicCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Hubic.
Must be one of:
- "HUBIC"
"HUBIC"
Token
Type: stringOAuth access token for Hubic authentication.
Must be at least 1
characters long
MegaCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for MEGA.
Must be one of:
- "MEGA"
"MEGA"
User
Type: stringMEGA username for authentication.
Must be at least 1
characters long
Pass
Type: stringMEGA password for authentication.
Must be at least 1
characters long
OneDriveCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for OneDrive.
Must be one of:
- "ONEDRIVE"
"ONEDRIVE"
Client Id
Type: string Default: ""OAuth client ID for OneDrive API access.
Client Secret
Type: string Default: ""OAuth client secret for OneDrive API access.
Token
Type: stringOAuth access token for OneDrive authentication.
Must be at least 1
characters long
Drive Type
Type: enum (of string)Type of OneDrive to access.
Must be one of:
- "PERSONAL"
- "BUSINESS"
- "DOCUMENT_LIBRARY"
Drive Id
Type: stringOneDrive drive identifier.
PCloudCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for pCloud.
Must be one of:
- "PCLOUD"
"PCLOUD"
Client Id
Type: string Default: ""OAuth client ID for pCloud API access.
Client Secret
Type: string Default: ""OAuth client secret for pCloud API access.
Token
Type: stringOAuth access token for pCloud authentication.
Must be at least 1
characters long
Hostname
Type: string Default: ""pCloud hostname or empty string for default.
S3CredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for S3-compatible storage.
Must be one of:
- "S3"
"S3"
Access Key Id
Type: stringS3 access key ID for authentication.
Must be at least 1
characters long
Secret Access Key
Type: stringS3 secret access key for authentication.
Must be at least 1
characters long
Endpoint
Type: string Default: ""S3-compatible endpoint URL or empty string for AWS S3.
Region
Type: string Default: ""S3 region or empty string for default.
Skip Region
Type: boolean Default: falseWhether to skip region validation.
Signatures V2
Type: boolean Default: falseWhether to use AWS Signature Version 2.
Max Upload Parts
Type: integer Default: 10000Maximum number of parts for multipart uploads.
SFTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for SFTP.
Must be one of:
- "SFTP"
"SFTP"
Host
Type: stringSFTP server hostname or IP address.
Must be at least 1
characters long
Port
Type: integer Default: 22SFTP server port number.
User
Type: stringSFTP username for authentication.
Must be at least 1
characters long
Pass
Default: nullSFTP password for authentication or null
for key-based auth.
Private Key
Default: nullSSH private key ID for authentication or null
for password auth.
StorjIxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Storj decentralized storage.
Must be one of:
- "STORJ_IX"
"STORJ_IX"
Access Key Id
Type: stringStorj S3-compatible access key ID for authentication.
Must be at least 1
characters long
Secret Access Key
Type: stringStorj S3-compatible secret access key for authentication.
Must be at least 1
characters long
Endpoint
Type: stringFormat: uri Default: "https://gateway.storjshare.io/"Storj gateway endpoint URL for S3-compatible access.
Must be at least 1
characters long
Must be at most 2083
characters long
SwiftCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for OpenStack Swift storage.
Must be one of:
- "OPENSTACK_SWIFT"
"OPENSTACK_SWIFT"
User
Type: stringSwift username for authentication.
Must be at least 1
characters long
Key
Type: stringSwift password or API key for authentication.
Must be at least 1
characters long
Auth
Type: stringSwift authentication URL endpoint.
Must be at least 1
characters long
User Id
Type: string Default: ""Swift user ID for authentication.
Domain
Type: string Default: ""Swift domain name for authentication.
Tenant
Type: string Default: ""Swift tenant name for multi-tenancy.
Tenant Id
Type: string Default: ""Swift tenant ID for multi-tenancy.
Tenant Domain
Type: string Default: ""Swift tenant domain name.
Region
Type: string Default: ""Swift region name for geographic distribution.
Storage Url
Type: string Default: ""Swift storage URL endpoint.
Auth Token
Type: string Default: ""Swift authentication token for pre-authenticated access.
Application Credential Id
Type: string Default: ""Swift application credential ID for authentication.
Application Credential Name
Type: string Default: ""Swift application credential name for authentication.
Application Credential Secret
Type: string Default: ""Swift application credential secret for authentication.
Auth Version
Swift authentication API version.
0
: Legacy auth1
: TempAuth2
: Keystone v2.03
: Keystone v3null
: Auto-detect
Must be one of:
- 0
- 1
- 2
- 3
Endpoint Type
Swift endpoint type to use.
public
: Public endpoint (default)internal
: Internal network endpointadmin
: Administrative endpointnull
: Use default
Must be one of:
- "public"
- "internal"
- "admin"
WebDavCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for WebDAV servers.
Must be one of:
- "WEBDAV"
"WEBDAV"
Url
Type: stringFormat: uriWebDAV server URL endpoint.
Must be at least 1
characters long
Must be at most 2083
characters long
Vendor
Type: enum (of string)WebDAV server vendor type for compatibility optimizations.
NEXTCLOUD
: Nextcloud serverOWNCLOUD
: ownCloud serverSHAREPOINT
: Microsoft SharePointOTHER
: Generic WebDAV server
Must be one of:
- "NEXTCLOUD"
- "OWNCLOUD"
- "SHAREPOINT"
- "OTHER"
User
Type: stringWebDAV username for authentication.
Pass
Type: stringWebDAV password for authentication.
YandexCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Yandex Disk storage.
Must be one of:
- "YANDEX"
"YANDEX"
Client Id
Type: string Default: ""Yandex OAuth application client ID.
Client Secret
Type: string Default: ""Yandex OAuth application client secret.
Token
Type: stringYandex OAuth access token for API authentication.
Must be at least 1
characters long
CloudCredentialEntry
Type: objectThe created cloud credential configuration.
No Additional PropertiesId
Type: integerUnique identifier for the cloud credential.
Name
Type: stringHuman-readable name for the cloud credential.
Must be at least 1
characters long
Provider
Cloud provider configuration including type and authentication details.
AzureBlobCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Microsoft Azure Blob storage.
Must be one of:
- "AZUREBLOB"
"AZUREBLOB"
Account
Type: stringAzure Blob Storage account name for authentication.
Must be at least 1
characters long
Key
Type: stringAzure Blob Storage access key for authentication.
Must be at least 1
characters long
Endpoint
Default: ""Custom Azure Blob Storage endpoint URL. Empty string for default endpoints.
Must be one of:
- ""
""
Must be at least 1
characters long
Must be at most 2083
characters long
B2CredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Backblaze B2 storage.
Must be one of:
- "B2"
"B2"
Account
Type: stringBackblaze B2 account ID for authentication.
Must be at least 1
characters long
Key
Type: stringBackblaze B2 application key for authentication.
Must be at least 1
characters long
BoxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Box cloud storage.
Must be one of:
- "BOX"
"BOX"
Client Id
Type: string Default: ""Box OAuth application client ID.
Client Secret
Type: string Default: ""Box OAuth application client secret.
Token
Type: stringBox OAuth access token for API authentication.
Must be at least 1
characters long
DropboxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Dropbox storage.
Must be one of:
- "DROPBOX"
"DROPBOX"
Client Id
Type: string Default: ""Dropbox OAuth application client ID.
Client Secret
Type: string Default: ""Dropbox OAuth application client secret.
Token
Type: stringDropbox OAuth access token for API authentication.
Must be at least 1
characters long
FTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for FTP.
Must be one of:
- "FTP"
"FTP"
Host
Type: stringFTP server hostname or IP address.
Must be at least 1
characters long
Port
Type: integer Default: 21FTP server port number.
User
Type: stringFTP username for authentication.
Must be at least 1
characters long
Pass
Type: stringFTP password for authentication.
GoogleCloudStorageCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Google Cloud Storage.
Must be one of:
- "GOOGLE_CLOUD_STORAGE"
"GOOGLE_CLOUD_STORAGE"
Service Account Credentials
Type: stringJSON service account credentials for Google Cloud Storage authentication.
Must be at least 1
characters long
GoogleDriveCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Google Drive.
Must be one of:
- "GOOGLE_DRIVE"
"GOOGLE_DRIVE"
Client Id
Type: string Default: ""OAuth client ID for Google Drive API access.
Client Secret
Type: string Default: ""OAuth client secret for Google Drive API access.
Token
Type: stringOAuth access token for Google Drive authentication.
Must be at least 1
characters long
Team Drive
Type: string Default: ""Google Drive team drive ID or empty string for personal drive.
GooglePhotosCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Google Photos.
Must be one of:
- "GOOGLE_PHOTOS"
"GOOGLE_PHOTOS"
Client Id
Type: string Default: ""OAuth client ID for Google Photos API access.
Client Secret
Type: string Default: ""OAuth client secret for Google Photos API access.
Token
Type: stringOAuth access token for Google Photos authentication.
Must be at least 1
characters long
HTTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for HTTP.
Must be one of:
- "HTTP"
"HTTP"
Url
Type: stringFormat: uriHTTP URL for file access.
Must be at least 1
characters long
Must be at most 2083
characters long
HubicCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Hubic.
Must be one of:
- "HUBIC"
"HUBIC"
Token
Type: stringOAuth access token for Hubic authentication.
Must be at least 1
characters long
MegaCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for MEGA.
Must be one of:
- "MEGA"
"MEGA"
User
Type: stringMEGA username for authentication.
Must be at least 1
characters long
Pass
Type: stringMEGA password for authentication.
Must be at least 1
characters long
OneDriveCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for OneDrive.
Must be one of:
- "ONEDRIVE"
"ONEDRIVE"
Client Id
Type: string Default: ""OAuth client ID for OneDrive API access.
Client Secret
Type: string Default: ""OAuth client secret for OneDrive API access.
Token
Type: stringOAuth access token for OneDrive authentication.
Must be at least 1
characters long
Drive Type
Type: enum (of string)Type of OneDrive to access.
Must be one of:
- "PERSONAL"
- "BUSINESS"
- "DOCUMENT_LIBRARY"
Drive Id
Type: stringOneDrive drive identifier.
PCloudCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for pCloud.
Must be one of:
- "PCLOUD"
"PCLOUD"
Client Id
Type: string Default: ""OAuth client ID for pCloud API access.
Client Secret
Type: string Default: ""OAuth client secret for pCloud API access.
Token
Type: stringOAuth access token for pCloud authentication.
Must be at least 1
characters long
Hostname
Type: string Default: ""pCloud hostname or empty string for default.
S3CredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for S3-compatible storage.
Must be one of:
- "S3"
"S3"
Access Key Id
Type: stringS3 access key ID for authentication.
Must be at least 1
characters long
Secret Access Key
Type: stringS3 secret access key for authentication.
Must be at least 1
characters long
Endpoint
Type: string Default: ""S3-compatible endpoint URL or empty string for AWS S3.
Region
Type: string Default: ""S3 region or empty string for default.
Skip Region
Type: boolean Default: falseWhether to skip region validation.
Signatures V2
Type: boolean Default: falseWhether to use AWS Signature Version 2.
Max Upload Parts
Type: integer Default: 10000Maximum number of parts for multipart uploads.
SFTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for SFTP.
Must be one of:
- "SFTP"
"SFTP"
Host
Type: stringSFTP server hostname or IP address.
Must be at least 1
characters long
Port
Type: integer Default: 22SFTP server port number.
User
Type: stringSFTP username for authentication.
Must be at least 1
characters long
Pass
Default: nullSFTP password for authentication or null
for key-based auth.
Private Key
Default: nullSSH private key ID for authentication or null
for password auth.
StorjIxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Storj decentralized storage.
Must be one of:
- "STORJ_IX"
"STORJ_IX"
Access Key Id
Type: stringStorj S3-compatible access key ID for authentication.
Must be at least 1
characters long
Secret Access Key
Type: stringStorj S3-compatible secret access key for authentication.
Must be at least 1
characters long
Endpoint
Type: stringFormat: uri Default: "https://gateway.storjshare.io/"Storj gateway endpoint URL for S3-compatible access.
Must be at least 1
characters long
Must be at most 2083
characters long
SwiftCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for OpenStack Swift storage.
Must be one of:
- "OPENSTACK_SWIFT"
"OPENSTACK_SWIFT"
User
Type: stringSwift username for authentication.
Must be at least 1
characters long
Key
Type: stringSwift password or API key for authentication.
Must be at least 1
characters long
Auth
Type: stringSwift authentication URL endpoint.
Must be at least 1
characters long
User Id
Type: string Default: ""Swift user ID for authentication.
Domain
Type: string Default: ""Swift domain name for authentication.
Tenant
Type: string Default: ""Swift tenant name for multi-tenancy.
Tenant Id
Type: string Default: ""Swift tenant ID for multi-tenancy.
Tenant Domain
Type: string Default: ""Swift tenant domain name.
Region
Type: string Default: ""Swift region name for geographic distribution.
Storage Url
Type: string Default: ""Swift storage URL endpoint.
Auth Token
Type: string Default: ""Swift authentication token for pre-authenticated access.
Application Credential Id
Type: string Default: ""Swift application credential ID for authentication.
Application Credential Name
Type: string Default: ""Swift application credential name for authentication.
Application Credential Secret
Type: string Default: ""Swift application credential secret for authentication.
Auth Version
Swift authentication API version.
0
: Legacy auth1
: TempAuth2
: Keystone v2.03
: Keystone v3null
: Auto-detect
Must be one of:
- 0
- 1
- 2
- 3
Endpoint Type
Swift endpoint type to use.
public
: Public endpoint (default)internal
: Internal network endpointadmin
: Administrative endpointnull
: Use default
Must be one of:
- "public"
- "internal"
- "admin"
WebDavCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for WebDAV servers.
Must be one of:
- "WEBDAV"
"WEBDAV"
Url
Type: stringFormat: uriWebDAV server URL endpoint.
Must be at least 1
characters long
Must be at most 2083
characters long
Vendor
Type: enum (of string)WebDAV server vendor type for compatibility optimizations.
NEXTCLOUD
: Nextcloud serverOWNCLOUD
: ownCloud serverSHAREPOINT
: Microsoft SharePointOTHER
: Generic WebDAV server
Must be one of:
- "NEXTCLOUD"
- "OWNCLOUD"
- "SHAREPOINT"
- "OTHER"
User
Type: stringWebDAV username for authentication.
Pass
Type: stringWebDAV password for authentication.
YandexCredentialsModel
Type: objectNo Additional Properties
Type
Type: constCloud provider type identifier for Yandex Disk storage.
Must be one of:
- "YANDEX"
"YANDEX"
Client Id
Type: string Default: ""Yandex OAuth application client ID.
Client Secret
Type: string Default: ""Yandex OAuth application client secret.
Token
Type: stringYandex OAuth access token for API authentication.
Must be at least 1
characters long
Required roles: CLOUD_SYNC_WRITE