42 lines
1.6 KiB
JSON
42 lines
1.6 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"access_key_id": "Access key ID",
|
|
"secret_access_key": "Secret access key",
|
|
"bucket": "Bucket name",
|
|
"endpoint_url": "Endpoint URL"
|
|
},
|
|
"data_description": {
|
|
"access_key_id": "Access key ID to connect to AWS S3 API",
|
|
"secret_access_key": "Secret access key to connect to AWS S3 API",
|
|
"bucket": "Bucket must already exist and be writable by the provided credentials.",
|
|
"endpoint_url": "Endpoint URL provided to [Boto3 Session]({boto3_docs_url}). Region-specific [AWS S3 endpoints]({aws_s3_docs_url}) are available in their docs."
|
|
},
|
|
"title": "Add AWS S3 bucket"
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:component::aws_s3::exceptions::cannot_connect::message%]",
|
|
"invalid_bucket_name": "[%key:component::aws_s3::exceptions::invalid_bucket_name::message%]",
|
|
"invalid_credentials": "[%key:component::aws_s3::exceptions::invalid_credentials::message%]",
|
|
"invalid_endpoint_url": "Invalid endpoint URL. Please make sure it's a valid AWS S3 endpoint URL."
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"cannot_connect": {
|
|
"message": "Cannot connect to endpoint"
|
|
},
|
|
"invalid_bucket_name": {
|
|
"message": "Invalid bucket name"
|
|
},
|
|
"invalid_credentials": {
|
|
"message": "Bucket cannot be accessed using provided combination of access key ID and secret access key."
|
|
}
|
|
}
|
|
}
|