Skip to content

Commit 9eb058f

Browse files
author
AWS
committed
Amazon OpenSearch Service Update: This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains.
1 parent 50caab9 commit 9eb058f

File tree

2 files changed

+72
-3
lines changed

2 files changed

+72
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon OpenSearch Service",
4+
"contributor": "",
5+
"description": "This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains."
6+
}

services/opensearch/src/main/resources/codegen-resources/service-2.json

Lines changed: 66 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"serviceFullName":"Amazon OpenSearch Service",
99
"serviceId":"OpenSearch",
1010
"signatureVersion":"v4",
11-
"uid":"opensearch-2021-01-01"
11+
"uid":"opensearch-2021-01-01",
12+
"auth":["aws.auth#sigv4"]
1213
},
1314
"operations":{
1415
"AcceptInboundConnection":{
@@ -1282,6 +1283,10 @@
12821283
"shape":"SAMLOptionsOutput",
12831284
"documentation":"<p>Container for information about the SAML configuration for OpenSearch Dashboards.</p>"
12841285
},
1286+
"JWTOptions":{
1287+
"shape":"JWTOptionsOutput",
1288+
"documentation":"<p>Container for information about the JWT configuration of the Amazon OpenSearch Service.</p>"
1289+
},
12851290
"AnonymousAuthDisableDate":{
12861291
"shape":"DisableTimestamp",
12871292
"documentation":"<p>Date and time when the migration period will be disabled. Only necessary when <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing\">enabling fine-grained access control on an existing domain</a>.</p>"
@@ -1312,6 +1317,10 @@
13121317
"shape":"SAMLOptionsInput",
13131318
"documentation":"<p>Container for information about the SAML configuration for OpenSearch Dashboards.</p>"
13141319
},
1320+
"JWTOptions":{
1321+
"shape":"JWTOptionsInput",
1322+
"documentation":"<p>Container for information about the JWT configuration of the Amazon OpenSearch Service. </p>"
1323+
},
13151324
"AnonymousAuthEnabled":{
13161325
"shape":"Boolean",
13171326
"documentation":"<p>True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing\">enabling fine-grained access control on an existing domain</a>.</p>"
@@ -3904,7 +3913,7 @@
39043913
},
39053914
"Status":{
39063915
"shape":"DataSourceStatus",
3907-
"documentation":"<p>The status of the data source response.</p>"
3916+
"documentation":"<p>The status of the data source.</p>"
39083917
}
39093918
},
39103919
"documentation":"<p>The result of a <code>GetDataSource</code> operation.</p>"
@@ -4280,6 +4289,50 @@
42804289
"type":"list",
42814290
"member":{"shape":"Issue"}
42824291
},
4292+
"JWTOptionsInput":{
4293+
"type":"structure",
4294+
"members":{
4295+
"Enabled":{
4296+
"shape":"Boolean",
4297+
"documentation":"<p>True to enable JWT authentication and authorization for a domain.</p>"
4298+
},
4299+
"SubjectKey":{
4300+
"shape":"SubjectKey",
4301+
"documentation":"<p>Element of the JWT assertion to use for the user name.</p>"
4302+
},
4303+
"RolesKey":{
4304+
"shape":"RolesKey",
4305+
"documentation":"<p>Element of the JWT assertion to use for roles.</p>"
4306+
},
4307+
"PublicKey":{
4308+
"shape":"String",
4309+
"documentation":"<p>Element of the JWT assertion used by the cluster to verify JWT signatures.</p>"
4310+
}
4311+
},
4312+
"documentation":"<p>The JWT authentication and authorization configuration for an Amazon OpenSearch Service domain.</p>"
4313+
},
4314+
"JWTOptionsOutput":{
4315+
"type":"structure",
4316+
"members":{
4317+
"Enabled":{
4318+
"shape":"Boolean",
4319+
"documentation":"<p>True if JWT use is enabled.</p>"
4320+
},
4321+
"SubjectKey":{
4322+
"shape":"String",
4323+
"documentation":"<p>The key used for matching the JWT subject attribute.</p>"
4324+
},
4325+
"RolesKey":{
4326+
"shape":"String",
4327+
"documentation":"<p>The key used for matching the JWT roles attribute.</p>"
4328+
},
4329+
"PublicKey":{
4330+
"shape":"String",
4331+
"documentation":"<p>The key used to verify the signature of incoming JWT requests.</p>"
4332+
}
4333+
},
4334+
"documentation":"<p>Describes the JWT options configured for the domain.</p>"
4335+
},
42834336
"KmsKeyId":{
42844337
"type":"string",
42854338
"max":500,
@@ -5704,6 +5757,11 @@
57045757
"min":20,
57055758
"pattern":"arn:(aws|aws\\-cn|aws\\-us\\-gov|aws\\-iso|aws\\-iso\\-b):iam::[0-9]+:role\\/.*"
57065759
},
5760+
"RolesKey":{
5761+
"type":"string",
5762+
"max":64,
5763+
"min":1
5764+
},
57075765
"RollbackOnDisable":{
57085766
"type":"string",
57095767
"documentation":"<p>The rollback state while disabling Auto-Tune for the domain.</p>",
@@ -6176,6 +6234,11 @@
61766234
"type":"list",
61776235
"member":{"shape":"String"}
61786236
},
6237+
"SubjectKey":{
6238+
"type":"string",
6239+
"max":64,
6240+
"min":1
6241+
},
61796242
"TLSSecurityPolicy":{
61806243
"type":"string",
61816244
"enum":[
@@ -6262,7 +6325,7 @@
62626325
},
62636326
"Status":{
62646327
"shape":"DataSourceStatus",
6265-
"documentation":"<p>The status of the data source update request.</p>"
6328+
"documentation":"<p>The status of the data source update.</p>"
62666329
}
62676330
},
62686331
"documentation":"<p>Container for the parameters to the <code>UpdateDataSource</code> operation.</p>"

0 commit comments

Comments
 (0)