{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/S3Credential",
"title": "S3Credential",
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"s3"
],
"description": "Credential provider. Only allowed value is s3"
},
"awsAccessKeyId": {
"type": "string",
"description": "AWS access key ID."
},
"awsSecretAccessKey": {
"type": "string",
"description": "AWS access key secret. This is not returned in the API."
},
"region": {
"type": "string",
"description": "AWS region in which the S3 bucket is located."
},
"s3BucketName": {
"type": "string",
"description": "AWS S3 bucket name."
},
"s3PathPrefix": {
"type": "string",
"description": "The path prefix for the uploaded recording. Ex. \"recordings/\""
},
"fallbackIndex": {
"type": "number",
"minimum": 1,
"description": "This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order."
},
"id": {
"type": "string",
"description": "This is the unique identifier for the credential."
},
"orgId": {
"type": "string",
"description": "This is the unique identifier for the org that this credential belongs to."
},
"createdAt": {
"format": "date-time",
"type": "string",
"description": "This is the ISO 8601 date-time string of when the credential was created."
},
"updatedAt": {
"format": "date-time",
"type": "string",
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
},
"name": {
"type": "string",
"description": "This is the name of credential. This is just for your reference.",
"minLength": 1,
"maxLength": 40
}
},
"required": [
"provider",
"awsAccessKeyId",
"awsSecretAccessKey",
"region",
"s3BucketName",
"s3PathPrefix",
"id",
"orgId",
"createdAt",
"updatedAt"
]
}