Skip to content

Commit c4eb11d

Browse files
author
awstools
committed
docs(client-datasync): Updated guidance on using private or self-signed certificate authorities (CAs) with AWS DataSync object storage locations.
1 parent c97f84a commit c4eb11d

File tree

3 files changed

+51
-28
lines changed

3 files changed

+51
-28
lines changed

clients/client-datasync/src/commands/UpdateLocationObjectStorageCommand.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ export interface UpdateLocationObjectStorageCommandOutput
3333
__MetadataBearer {}
3434

3535
/**
36-
* <p>Updates some parameters of an existing object storage location that DataSync
37-
* accesses for a transfer. For information about creating a self-managed object storage
38-
* location, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object
39-
* storage</a>.</p>
36+
* <p>Updates some parameters of an existing DataSync location for an object
37+
* storage system.</p>
4038
* @example
4139
* Use a bare-bones client and the command you need to make an API call.
4240
* ```javascript

clients/client-datasync/src/models/models_0.ts

+44-19
Original file line numberDiff line numberDiff line change
@@ -1470,24 +1470,29 @@ export interface CreateLocationObjectStorageRequest {
14701470
Tags?: TagListEntry[];
14711471

14721472
/**
1473-
* <p>Specifies a file with the certificates that are used to sign the object storage server's
1474-
* certificate (for example, <code>file:///home/user/.ssh/storage_sys_certificate.pem</code>).
1475-
* The file you specify must include the following:</p>
1473+
* <p>Specifies a certificate chain for DataSync to authenticate with your object
1474+
* storage system if the system uses a private or self-signed certificate authority (CA). You
1475+
* must specify a single <code>.pem</code> file with a full certificate chain (for example,
1476+
* <code>file:///home/user/.ssh/object_storage_certificates.pem</code>).</p>
1477+
* <p>The certificate chain might include:</p>
14761478
* <ul>
14771479
* <li>
1478-
* <p>The certificate of the signing certificate authority (CA)</p>
1480+
* <p>The object storage system's certificate</p>
14791481
* </li>
14801482
* <li>
1481-
* <p>Any intermediate certificates</p>
1483+
* <p>All intermediate certificates (if there are any)</p>
14821484
* </li>
14831485
* <li>
1484-
* <p>base64 encoding</p>
1485-
* </li>
1486-
* <li>
1487-
* <p>A <code>.pem</code> extension</p>
1486+
* <p>The root certificate of the signing CA</p>
14881487
* </li>
14891488
* </ul>
1490-
* <p>The file can be up to 32768 bytes (before base64 encoding).</p>
1489+
* <p>You can concatenate your certificates into a <code>.pem</code> file (which can be up to
1490+
* 32768 bytes before base64 encoding). The following example <code>cat</code> command creates an
1491+
* <code>object_storage_certificates.pem</code> file that includes three certificates:</p>
1492+
* <p>
1493+
* <code>cat object_server_certificate.pem intermediate_certificate.pem
1494+
* ca_root_certificate.pem > object_storage_certificates.pem</code>
1495+
* </p>
14911496
* <p>To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.</p>
14921497
* @public
14931498
*/
@@ -2440,8 +2445,9 @@ export interface TaskSchedule {
24402445

24412446
/**
24422447
* <p>Specifies whether to enable or disable your task schedule. Your schedule is enabled by
2443-
* default, but there can be situations where you need to disable it. For example,
2444-
* you might need to pause a recurring transfer or fix an issue with your task or perform maintenance on your storage system.</p>
2448+
* default, but there can be situations where you need to disable it. For example, you might need
2449+
* to pause a recurring transfer to fix an issue with your task or perform maintenance on your
2450+
* storage system.</p>
24452451
* <p>DataSync might disable your schedule automatically if your task fails repeatedly
24462452
* with the same error. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_TaskScheduleDetails.html">TaskScheduleDetails</a>.</p>
24472453
* @public
@@ -3529,8 +3535,8 @@ export interface DescribeLocationObjectStorageResponse {
35293535
CreationTime?: Date;
35303536

35313537
/**
3532-
* <p>The self-signed certificate that DataSync uses to securely authenticate with
3533-
* your object storage system.</p>
3538+
* <p>The certificate chain for DataSync to authenticate with your object storage
3539+
* system if the system uses a private or self-signed certificate authority (CA).</p>
35343540
* @public
35353541
*/
35363542
ServerCertificate?: Uint8Array;
@@ -6122,12 +6128,31 @@ export interface UpdateLocationObjectStorageRequest {
61226128
AgentArns?: string[];
61236129

61246130
/**
6125-
* <p>Specifies a certificate to authenticate with an object storage system that uses a private
6126-
* or self-signed certificate authority (CA). You must specify a Base64-encoded <code>.pem</code>
6127-
* file (for example, <code>file:///home/user/.ssh/storage_sys_certificate.pem</code>). The
6128-
* certificate can be up to 32768 bytes (before Base64 encoding).</p>
6131+
* <p>Specifies a certificate chain for DataSync to authenticate with your object
6132+
* storage system if the system uses a private or self-signed certificate authority (CA). You
6133+
* must specify a single <code>.pem</code> file with a full certificate chain (for example,
6134+
* <code>file:///home/user/.ssh/object_storage_certificates.pem</code>).</p>
6135+
* <p>The certificate chain might include:</p>
6136+
* <ul>
6137+
* <li>
6138+
* <p>The object storage system's certificate</p>
6139+
* </li>
6140+
* <li>
6141+
* <p>All intermediate certificates (if there are any)</p>
6142+
* </li>
6143+
* <li>
6144+
* <p>The root certificate of the signing CA</p>
6145+
* </li>
6146+
* </ul>
6147+
* <p>You can concatenate your certificates into a <code>.pem</code> file (which can be up to
6148+
* 32768 bytes before base64 encoding). The following example <code>cat</code> command creates an
6149+
* <code>object_storage_certificates.pem</code> file that includes three certificates:</p>
6150+
* <p>
6151+
* <code>cat object_server_certificate.pem intermediate_certificate.pem
6152+
* ca_root_certificate.pem > object_storage_certificates.pem</code>
6153+
* </p>
61296154
* <p>To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.</p>
6130-
* <p>Updating the certificate doesn't interfere with tasks that you have in progress.</p>
6155+
* <p>Updating this parameter doesn't interfere with tasks that you have in progress.</p>
61316156
* @public
61326157
*/
61336158
ServerCertificate?: Uint8Array;

codegen/sdk-codegen/aws-models/datasync.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@
12761276
"ServerCertificate": {
12771277
"target": "com.amazonaws.datasync#ObjectStorageCertificate",
12781278
"traits": {
1279-
"smithy.api#documentation": "<p>Specifies a file with the certificates that are used to sign the object storage server's\n certificate (for example, <code>file:///home/user/.ssh/storage_sys_certificate.pem</code>).\n The file you specify must include the following:</p>\n <ul>\n <li>\n <p>The certificate of the signing certificate authority (CA)</p>\n </li>\n <li>\n <p>Any intermediate certificates</p>\n </li>\n <li>\n <p>base64 encoding</p>\n </li>\n <li>\n <p>A <code>.pem</code> extension</p>\n </li>\n </ul>\n <p>The file can be up to 32768 bytes (before base64 encoding).</p>\n <p>To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.</p>"
1279+
"smithy.api#documentation": "<p>Specifies a certificate chain for DataSync to authenticate with your object\n storage system if the system uses a private or self-signed certificate authority (CA). You\n must specify a single <code>.pem</code> file with a full certificate chain (for example,\n <code>file:///home/user/.ssh/object_storage_certificates.pem</code>).</p>\n <p>The certificate chain might include:</p>\n <ul>\n <li>\n <p>The object storage system's certificate</p>\n </li>\n <li>\n <p>All intermediate certificates (if there are any)</p>\n </li>\n <li>\n <p>The root certificate of the signing CA</p>\n </li>\n </ul>\n <p>You can concatenate your certificates into a <code>.pem</code> file (which can be up to\n 32768 bytes before base64 encoding). The following example <code>cat</code> command creates an\n <code>object_storage_certificates.pem</code> file that includes three certificates:</p>\n <p>\n <code>cat object_server_certificate.pem intermediate_certificate.pem\n ca_root_certificate.pem > object_storage_certificates.pem</code>\n </p>\n <p>To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.</p>"
12801280
}
12811281
}
12821282
},
@@ -2657,7 +2657,7 @@
26572657
"ServerCertificate": {
26582658
"target": "com.amazonaws.datasync#ObjectStorageCertificate",
26592659
"traits": {
2660-
"smithy.api#documentation": "<p>The self-signed certificate that DataSync uses to securely authenticate with\n your object storage system.</p>"
2660+
"smithy.api#documentation": "<p>The certificate chain for DataSync to authenticate with your object storage\n system if the system uses a private or self-signed certificate authority (CA).</p>"
26612661
}
26622662
}
26632663
},
@@ -8723,7 +8723,7 @@
87238723
"Status": {
87248724
"target": "com.amazonaws.datasync#ScheduleStatus",
87258725
"traits": {
8726-
"smithy.api#documentation": "<p>Specifies whether to enable or disable your task schedule. Your schedule is enabled by\n default, but there can be situations where you need to disable it. For example,\n you might need to pause a recurring transfer or fix an issue with your task or perform maintenance on your storage system.</p>\n <p>DataSync might disable your schedule automatically if your task fails repeatedly\n with the same error. For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/API_TaskScheduleDetails.html\">TaskScheduleDetails</a>.</p>"
8726+
"smithy.api#documentation": "<p>Specifies whether to enable or disable your task schedule. Your schedule is enabled by\n default, but there can be situations where you need to disable it. For example, you might need\n to pause a recurring transfer to fix an issue with your task or perform maintenance on your\n storage system.</p>\n <p>DataSync might disable your schedule automatically if your task fails repeatedly\n with the same error. For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/API_TaskScheduleDetails.html\">TaskScheduleDetails</a>.</p>"
87278727
}
87288728
}
87298729
},
@@ -9290,7 +9290,7 @@
92909290
}
92919291
],
92929292
"traits": {
9293-
"smithy.api#documentation": "<p>Updates some parameters of an existing object storage location that DataSync\n accesses for a transfer. For information about creating a self-managed object storage\n location, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html\">Creating a location for object\n storage</a>.</p>"
9293+
"smithy.api#documentation": "<p>Updates some parameters of an existing DataSync location for an object\n storage system.</p>"
92949294
}
92959295
},
92969296
"com.amazonaws.datasync#UpdateLocationObjectStorageRequest": {
@@ -9342,7 +9342,7 @@
93429342
"ServerCertificate": {
93439343
"target": "com.amazonaws.datasync#ObjectStorageCertificate",
93449344
"traits": {
9345-
"smithy.api#documentation": "<p>Specifies a certificate to authenticate with an object storage system that uses a private\n or self-signed certificate authority (CA). You must specify a Base64-encoded <code>.pem</code>\n file (for example, <code>file:///home/user/.ssh/storage_sys_certificate.pem</code>). The\n certificate can be up to 32768 bytes (before Base64 encoding).</p>\n <p>To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.</p>\n <p>Updating the certificate doesn't interfere with tasks that you have in progress.</p>"
9345+
"smithy.api#documentation": "<p>Specifies a certificate chain for DataSync to authenticate with your object\n storage system if the system uses a private or self-signed certificate authority (CA). You\n must specify a single <code>.pem</code> file with a full certificate chain (for example,\n <code>file:///home/user/.ssh/object_storage_certificates.pem</code>).</p>\n <p>The certificate chain might include:</p>\n <ul>\n <li>\n <p>The object storage system's certificate</p>\n </li>\n <li>\n <p>All intermediate certificates (if there are any)</p>\n </li>\n <li>\n <p>The root certificate of the signing CA</p>\n </li>\n </ul>\n <p>You can concatenate your certificates into a <code>.pem</code> file (which can be up to\n 32768 bytes before base64 encoding). The following example <code>cat</code> command creates an\n <code>object_storage_certificates.pem</code> file that includes three certificates:</p>\n <p>\n <code>cat object_server_certificate.pem intermediate_certificate.pem\n ca_root_certificate.pem > object_storage_certificates.pem</code>\n </p>\n <p>To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.</p>\n <p>Updating this parameter doesn't interfere with tasks that you have in progress.</p>"
93469346
}
93479347
}
93489348
},

0 commit comments

Comments
 (0)