

# JWTOptionsInput


The JWT authentication and authorization configuration for an Amazon OpenSearch Service domain.

## Contents


 ** Enabled **   <a name="opensearchservice-Type-JWTOptionsInput-Enabled"></a>
True to enable JWT authentication and authorization for a domain.  
Type: Boolean  
Required: No

 ** PublicKey **   <a name="opensearchservice-Type-JWTOptionsInput-PublicKey"></a>
Element of the JWT assertion used by the cluster to verify JWT signatures.  
Type: String  
Required: No

 ** RolesKey **   <a name="opensearchservice-Type-JWTOptionsInput-RolesKey"></a>
Element of the JWT assertion to use for roles.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: No

 ** SubjectKey **   <a name="opensearchservice-Type-JWTOptionsInput-SubjectKey"></a>
Element of the JWT assertion to use for the user name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/opensearch-2021-01-01/JWTOptionsInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/opensearch-2021-01-01/JWTOptionsInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/opensearch-2021-01-01/JWTOptionsInput) 