Skip to content

Commit 702a943

Browse files
author
awstools
committed
docs(client-datasync): Doc-only update to provide more information on using Kerberos authentication with SMB locations.
1 parent 2b3d1df commit 702a943

File tree

2 files changed

+35
-45
lines changed

2 files changed

+35
-45
lines changed

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

Lines changed: 28 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,37 +1757,32 @@ export interface CreateLocationSmbRequest {
17571757
DnsIpAddresses?: string[] | undefined;
17581758

17591759
/**
1760-
* <p>Specifies a service principal name (SPN), which is an identity in your Kerberos realm that
1761-
* has permission to access the files, folders, and file metadata in your SMB file server.</p>
1762-
* <p>SPNs are case sensitive and must include a prepended <code>cifs/</code>. For example, an
1763-
* SPN might look like <code>cifs/[email protected]</code>.</p>
1764-
* <p>Your task execution will fail if the SPN that you provide for this parameter doesn’t match
1765-
* what’s exactly in your keytab or <code>krb5.conf</code> files. </p>
1760+
* <p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has
1761+
* permission to access the files, folders, and file metadata in your SMB file server.</p>
1762+
* <p>A Kerberos principal might look like <code>HOST/[email protected]</code>.</p>
1763+
* <p>Principal names are case sensitive. Your DataSync task execution will fail if
1764+
* the principal that you specify for this parameter doesn’t exactly match the principal that you
1765+
* use to create the keytab file.</p>
17661766
* @public
17671767
*/
17681768
KerberosPrincipal?: string | undefined;
17691769

17701770
/**
17711771
* <p>Specifies your Kerberos key table (keytab) file, which includes mappings between your
1772-
* service principal name (SPN) and encryption keys.</p>
1773-
* <p>You can specify the keytab using a file path (for example,
1774-
* <code>file://path/to/file.keytab</code>). The file must be base64 encoded. If you're using
1775-
* the CLI, the encoding is done for you.</p>
1776-
* <p>To avoid task execution errors, make sure that the SPN in the keytab file matches exactly
1777-
* what you specify for <code>KerberosPrincipal</code> and in your <code>krb5.conf</code> file. </p>
1772+
* Kerberos principal and encryption keys.</p>
1773+
* <p>The file must be base64 encoded. If you're using the CLI, the encoding is
1774+
* done for you.</p>
1775+
* <p>To avoid task execution errors, make sure that the Kerberos principal that you use to
1776+
* create the keytab file matches exactly what you specify for <code>KerberosPrincipal</code>. </p>
17781777
* @public
17791778
*/
17801779
KerberosKeytab?: Uint8Array | undefined;
17811780

17821781
/**
17831782
* <p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your
17841783
* Kerberos realm configuration.</p>
1785-
* <p>You can specify the <code>krb5.conf</code> using a file path (for example,
1786-
* <code>file://path/to/krb5.conf</code>). The file must be base64 encoded. If you're using the
1787-
* CLI, the encoding is done for you.</p>
1788-
* <p>To avoid task execution errors, make sure that the service principal name (SPN) in the
1789-
* <code>krb5.conf</code> file matches exactly what you specify for
1790-
* <code>KerberosPrincipal</code> and in your keytab file.</p>
1784+
* <p>The file must be base64 encoded. If you're using the CLI, the encoding is
1785+
* done for you.</p>
17911786
* @public
17921787
*/
17931788
KerberosKrb5Conf?: Uint8Array | undefined;
@@ -3829,8 +3824,8 @@ export interface DescribeLocationSmbResponse {
38293824
DnsIpAddresses?: string[] | undefined;
38303825

38313826
/**
3832-
* <p>The Kerberos service principal name (SPN) that has permission to access the files,
3833-
* folders, and file metadata in your SMB file server.</p>
3827+
* <p>The Kerberos principal that has permission to access the files, folders, and file metadata
3828+
* in your SMB file server.</p>
38343829
* @public
38353830
*/
38363831
KerberosPrincipal?: string | undefined;
@@ -6904,37 +6899,32 @@ export interface UpdateLocationSmbRequest {
69046899
DnsIpAddresses?: string[] | undefined;
69056900

69066901
/**
6907-
* <p>Specifies a service principal name (SPN), which is an identity in your Kerberos realm that
6908-
* has permission to access the files, folders, and file metadata in your SMB file server.</p>
6909-
* <p>SPNs are case sensitive and must include a prepended <code>cifs/</code>. For example, an
6910-
* SPN might look like <code>cifs/[email protected]</code>.</p>
6911-
* <p>Your task execution will fail if the SPN that you provide for this parameter doesn’t match
6912-
* what’s exactly in your keytab or <code>krb5.conf</code> files.</p>
6902+
* <p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has
6903+
* permission to access the files, folders, and file metadata in your SMB file server.</p>
6904+
* <p>A Kerberos principal might look like <code>HOST/[email protected]</code>.</p>
6905+
* <p>Principal names are case sensitive. Your DataSync task execution will fail if
6906+
* the principal that you specify for this parameter doesn’t exactly match the principal that you
6907+
* use to create the keytab file.</p>
69136908
* @public
69146909
*/
69156910
KerberosPrincipal?: string | undefined;
69166911

69176912
/**
69186913
* <p>Specifies your Kerberos key table (keytab) file, which includes mappings between your
6919-
* service principal name (SPN) and encryption keys.</p>
6920-
* <p>You can specify the keytab using a file path (for example,
6921-
* <code>file://path/to/file.keytab</code>). The file must be base64 encoded. If you're using
6922-
* the CLI, the encoding is done for you.</p>
6923-
* <p>To avoid task execution errors, make sure that the SPN in the keytab file matches exactly
6924-
* what you specify for <code>KerberosPrincipal</code> and in your <code>krb5.conf</code> file.</p>
6914+
* Kerberos principal and encryption keys.</p>
6915+
* <p>The file must be base64 encoded. If you're using the CLI, the encoding is
6916+
* done for you.</p>
6917+
* <p>To avoid task execution errors, make sure that the Kerberos principal that you use to
6918+
* create the keytab file matches exactly what you specify for <code>KerberosPrincipal</code>.</p>
69256919
* @public
69266920
*/
69276921
KerberosKeytab?: Uint8Array | undefined;
69286922

69296923
/**
69306924
* <p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your
69316925
* Kerberos realm configuration.</p>
6932-
* <p>You can specify the <code>krb5.conf</code> using a file path (for example,
6933-
* <code>file://path/to/krb5.conf</code>). The file must be base64 encoded. If you're using the
6934-
* CLI, the encoding is done for you.</p>
6935-
* <p>To avoid task execution errors, make sure that the service principal name (SPN) in the
6936-
* <code>krb5.conf</code> file matches exactly what you specify for
6937-
* <code>KerberosPrincipal</code> and in your keytab file.</p>
6926+
* <p>The file must be base64 encoded. If you're using the CLI, the encoding is
6927+
* done for you.</p>
69386928
* @public
69396929
*/
69406930
KerberosKrb5Conf?: Uint8Array | undefined;

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,19 +1470,19 @@
14701470
"KerberosPrincipal": {
14711471
"target": "com.amazonaws.datasync#KerberosPrincipal",
14721472
"traits": {
1473-
"smithy.api#documentation": "<p>Specifies a service principal name (SPN), which is an identity in your Kerberos realm that\n has permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>SPNs are case sensitive and must include a prepended <code>cifs/</code>. For example, an\n SPN might look like <code>cifs/[email protected]</code>.</p>\n <p>Your task execution will fail if the SPN that you provide for this parameter doesn’t match\n what’s exactly in your keytab or <code>krb5.conf</code> files. </p>"
1473+
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/[email protected]</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
14741474
}
14751475
},
14761476
"KerberosKeytab": {
14771477
"target": "com.amazonaws.datasync#KerberosKeytabFile",
14781478
"traits": {
1479-
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n service principal name (SPN) and encryption keys.</p>\n <p>You can specify the keytab using a file path (for example,\n <code>file://path/to/file.keytab</code>). The file must be base64 encoded. If you're using\n the CLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the SPN in the keytab file matches exactly\n what you specify for <code>KerberosPrincipal</code> and in your <code>krb5.conf</code> file. </p>"
1479+
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n Kerberos principal and encryption keys.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>\n <p>To avoid task execution errors, make sure that the Kerberos principal that you use to\n create the keytab file matches exactly what you specify for <code>KerberosPrincipal</code>. </p>"
14801480
}
14811481
},
14821482
"KerberosKrb5Conf": {
14831483
"target": "com.amazonaws.datasync#KerberosKrb5ConfFile",
14841484
"traits": {
1485-
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>You can specify the <code>krb5.conf</code> using a file path (for example,\n <code>file://path/to/krb5.conf</code>). The file must be base64 encoded. If you're using the\nCLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the service principal name (SPN) in the\n <code>krb5.conf</code> file matches exactly what you specify for\n <code>KerberosPrincipal</code> and in your keytab file.</p>"
1485+
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>"
14861486
}
14871487
}
14881488
},
@@ -2868,7 +2868,7 @@
28682868
"KerberosPrincipal": {
28692869
"target": "com.amazonaws.datasync#KerberosPrincipal",
28702870
"traits": {
2871-
"smithy.api#documentation": "<p>The Kerberos service principal name (SPN) that has permission to access the files,\n folders, and file metadata in your SMB file server.</p>"
2871+
"smithy.api#documentation": "<p>The Kerberos principal that has permission to access the files, folders, and file metadata\n in your SMB file server.</p>"
28722872
}
28732873
},
28742874
"AuthenticationType": {
@@ -10056,19 +10056,19 @@
1005610056
"KerberosPrincipal": {
1005710057
"target": "com.amazonaws.datasync#KerberosPrincipal",
1005810058
"traits": {
10059-
"smithy.api#documentation": "<p>Specifies a service principal name (SPN), which is an identity in your Kerberos realm that\n has permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>SPNs are case sensitive and must include a prepended <code>cifs/</code>. For example, an\n SPN might look like <code>cifs/[email protected]</code>.</p>\n <p>Your task execution will fail if the SPN that you provide for this parameter doesn’t match\n what’s exactly in your keytab or <code>krb5.conf</code> files.</p>"
10059+
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/[email protected]</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
1006010060
}
1006110061
},
1006210062
"KerberosKeytab": {
1006310063
"target": "com.amazonaws.datasync#KerberosKeytabFile",
1006410064
"traits": {
10065-
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n service principal name (SPN) and encryption keys.</p>\n <p>You can specify the keytab using a file path (for example,\n <code>file://path/to/file.keytab</code>). The file must be base64 encoded. If you're using\n the CLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the SPN in the keytab file matches exactly\n what you specify for <code>KerberosPrincipal</code> and in your <code>krb5.conf</code> file.</p>"
10065+
"smithy.api#documentation": "<p>Specifies your Kerberos key table (keytab) file, which includes mappings between your\n Kerberos principal and encryption keys.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>\n <p>To avoid task execution errors, make sure that the Kerberos principal that you use to\n create the keytab file matches exactly what you specify for <code>KerberosPrincipal</code>.</p>"
1006610066
}
1006710067
},
1006810068
"KerberosKrb5Conf": {
1006910069
"target": "com.amazonaws.datasync#KerberosKrb5ConfFile",
1007010070
"traits": {
10071-
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>You can specify the <code>krb5.conf</code> using a file path (for example,\n <code>file://path/to/krb5.conf</code>). The file must be base64 encoded. If you're using the\n CLI, the encoding is done for you.</p>\n <p>To avoid task execution errors, make sure that the service principal name (SPN) in the\n <code>krb5.conf</code> file matches exactly what you specify for\n <code>KerberosPrincipal</code> and in your keytab file.</p>"
10071+
"smithy.api#documentation": "<p>Specifies a Kerberos configuration file (<code>krb5.conf</code>) that defines your\n Kerberos realm configuration.</p>\n <p>The file must be base64 encoded. If you're using the CLI, the encoding is\n done for you.</p>"
1007210072
}
1007310073
}
1007410074
},

0 commit comments

Comments
 (0)