Skip to main content
Creates a new Remote Storage Provider Connection.

Usage

flexai storage create <storage_provider_connection_name>
  [( --provider --access-key-id --endpoint --secret-access-key-name )]
  [( --provider gcs --service-account-file-name )]
  [( --provider s3 --region <region> )]
  [( --provider huggingface --hf-token-name <hf_token_name> )]

Arguments

ArgumentTypeRequiredDescription
storage_provider_connection_namestringYesThe name that will be used to identify the Storage Provider Connection while performing operations on it.

Flags

FlagShortTypeDescription
--provider-pstringStorage provider to use. One of: s3, gcs, huggingface, minio, r2.
--access-key-idstringS3-compatible storage Access Key ID.
--endpointstringS3-compatible storage endpoint. Only required when using the s3 provider.
--regionstringS3-compatible storage Region where the target Storage Bucket is located. Only required when using the s3 provider.
--secret-access-key-namestringName of the FlexAI Secret containing the S3-compatible storage Secret Access Key.
--service-account-file-namestringName of the FlexAI Secret containing the GCP Service Account JSON file (for gcs provider).
--hf-token-namestringName of the FlexAI Secret containing the Hugging Face Access token (for huggingface provider).
--help-hbooleanDisplays this help page.
--verbose-vbooleanProvides more detailed output.