This document describes all the supported location kinds. Your GrayMeta Platform instance may include some or all of these.
Each instance of the GrayMeta Platform may be configured with different locations. The following API call gets a list of supported kinds in your system:
GET /api/data/v3/location-kinds
Example response:
{
"location_kinds": [
{
"id": "s3",
"name": "AWS S3 Object Storage",
"description": "S3 & Compatible Object Storage (AWS Simple Storage Service (S3))",
"configuration": [
{
"field": "access_key_id",
"name": "Access Key ID",
"type": "text",
"placeholder": "Paste Access Key ID here",
"required": true,
"is_secret": false
},
{
"field": "secret_key",
"name": "Secret Key",
"type": "text",
"placeholder": "Paste Secret Key here",
"required": true,
"is_secret": true
},
{
"field": "region",
"name": "Region",
"type": "text",
"placeholder": "Paste Region Name here, Ex: us-west",
"required": false,
"is_secret": false
}
],
"editable": true
},
{
"id": "azure",
"name": "Azure",
"description": "Microsoft Azure Blobstore",
"configuration": [
{
"field": "account",
"name": "Storage account name",
"type": "text",
"placeholder": "Paste account name here",
"required": true,
"is_secret": false
},
{
"field": "key",
"name": "Access key",
"type": "text",
"placeholder": "Paste access key here",
"required": true,
"is_secret": true
}
],
"editable": true
}
]
}
Each location kind has its own configuration requirements. All configuration objects are objects with string values.
Name: "azure"
account
- The Azure account namekey
- API access key from AzureName: "s3"
"access_key_id"
- Access Key ID from Amazon S3"secret_key"
- Secret key used to access the buckets"region"
- Name of the region of the S3 storageName: "swift"
"username"
- Username to access the storage"key"
- Access key"tenant_name"
- Name of the tenant in Swift"tenant_auth_url"
- URL of the authentication URLName: "google"
"json"
- Google Cloud Storage account JSON blob"project_id"
- Project IDOracle use their own flavour of the OpenStack Swift API.
Name: "oracle"
"username"
- Username to access the storage"password"
- Password to access the storage"authorization_endpoint"
- URL of the authentication endpoint to use when connecting to the storageName: "dell"
"access_key_id"
- Access Key ID or User ID"secret_key"
- Secret key used to access the buckets"endpoint"
- The endpoint for the serviceLocal storage refers to pre-mounted file-systems, such as local hard drives.
Name: "local"
"path"
- Absolute path to a directoryRemote storage refers to network-attached file systems, such as NFS or CIFS.
Name: "remote"
"source"
- Path to the network attached storage"type"
- The type of file-system that should be mounted"options"
- Comma separated list of type-specific mount optionsUnder the hood, the GrayMeta Platform uses the mount
command to connect to remote mounts. Types are operating-system and kernel dependent, but the most common options are ext2
, ext3
, ext4
, xfs
, btrfs
, vfat
, sysfs
, proc
, nfs
and cifs
.
mount
linux commandThis documentation is generated from the latest version of GrayMeta Platform. For documentation relevant to your own deployed version, please use the documentation inside the application.
© 2021 GrayMeta, Inc.