Class AliCloudKmsDriver
java.lang.Object
io.confluent.kafka.schemaregistry.encryption.alicloud.AliCloudKmsDriver
- All Implemented Interfaces:
KmsDriver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface io.confluent.kafka.schemaregistry.encryption.tink.KmsDriver
KMS_TYPE_SUFFIX, TEST_CLIENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.crypto.tink.KmsClientnewKmsClient(Map<String, ?> configs, Optional<String> kekUrl) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.confluent.kafka.schemaregistry.encryption.tink.KmsDriver
doesSupport, getKmsClient, getTestClient, isAccessDenied, isAccessDeniedStatus, registerKmsClient
-
Field Details
-
KMS_TYPE
- See Also:
-
ENDPOINT_CONFIG
- See Also:
-
CA_FILE_CONFIG
- See Also:
-
ACCESS_KEY_ID_CONFIG
- See Also:
-
ACCESS_KEY_SECRET_CONFIG
- See Also:
-
SECURITY_TOKEN_CONFIG
- See Also:
-
CREDENTIAL_TYPE_CONFIG
- See Also:
-
ROLE_ARN_CONFIG
- See Also:
-
ROLE_SESSION_NAME_CONFIG
- See Also:
-
ROLE_SESSION_EXPIRATION_CONFIG
- See Also:
-
POLICY_CONFIG
- See Also:
-
STS_ENDPOINT_CONFIG
- See Also:
-
EXTERNAL_ID_CONFIG
- See Also:
-
-
Constructor Details
-
AliCloudKmsDriver
public AliCloudKmsDriver()
-
-
Method Details
-
getKeyUrlPrefix
- Specified by:
getKeyUrlPrefixin interfaceKmsDriver
-
isAccessDeniedException
- Specified by:
isAccessDeniedExceptionin interfaceKmsDriver
-
newKmsClient
public com.google.crypto.tink.KmsClient newKmsClient(Map<String, ?> configs, Optional<String> kekUrl) throws GeneralSecurityException- Specified by:
newKmsClientin interfaceKmsDriver- Throws:
GeneralSecurityException
-