public interface DekRegistryClient extends Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
LATEST_VERSION |
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
Dek |
createDek(String kekName,
String subject,
DekFormat algorithm,
String encryptedKeyMaterial) |
Dek |
createDek(String kekName,
String subject,
int version,
DekFormat algorithm,
String encryptedKeyMaterial) |
Dek |
createDek(String kekName,
String subject,
int version,
DekFormat algorithm,
String encryptedKeyMaterial,
boolean deleted) |
Dek |
createDek(String kekName,
String subject,
int version,
DekFormat algorithm,
String encryptedKeyMaterial,
boolean deleted,
boolean rewrap) |
Kek |
createKek(String name,
String kmsType,
String kmsKeyId,
Map<String,String> kmsProps,
String doc,
boolean shared) |
Kek |
createKek(String name,
String kmsType,
String kmsKeyId,
Map<String,String> kmsProps,
String doc,
boolean shared,
boolean deleted) |
void |
deleteDek(String kekName,
String subject,
DekFormat algorithm,
boolean permanentDelete) |
void |
deleteDekVersion(String kekName,
String subject,
int version,
DekFormat algorithm,
boolean permanentDelete) |
void |
deleteKek(String kekName,
boolean permanentDelete) |
Dek |
getDek(String kekName,
String subject,
DekFormat algorithm,
boolean lookupDeleted) |
Dek |
getDekLatestVersion(String kekName,
String subject,
DekFormat algorithm,
boolean lookupDeleted) |
Dek |
getDekVersion(String kekName,
String subject,
int version,
DekFormat algorithm,
boolean lookupDeleted) |
Kek |
getKek(String name,
boolean lookupDeleted) |
List<String> |
listDeks(String kekName,
boolean lookupDeleted) |
List<Integer> |
listDekVersions(String kekName,
String subject,
DekFormat algorithm,
boolean lookupDeleted) |
List<String> |
listKeks(boolean lookupDeleted) |
List<String> |
listKeks(List<String> subjectPrefix,
boolean lookupDeleted) |
void |
reset() |
default com.google.common.base.Ticker |
ticker() |
void |
undeleteDek(String kekName,
String subject,
DekFormat algorithm) |
void |
undeleteDekVersion(String kekName,
String subject,
int version,
DekFormat algorithm) |
void |
undeleteKek(String kekName) |
Kek |
updateKek(String name,
Map<String,String> kmsProps,
String doc,
Boolean shared) |
static final int LATEST_VERSION
default com.google.common.base.Ticker ticker()
List<String> listKeks(boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionList<String> listKeks(List<String> subjectPrefix, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionKek getKek(String name, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionList<String> listDeks(String kekName, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionList<Integer> listDekVersions(String kekName, String subject, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionDek getDek(String kekName, String subject, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionDek getDekVersion(String kekName, String subject, int version, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionDek getDekLatestVersion(String kekName, String subject, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
IOExceptionRestClientExceptionKek createKek(String name, String kmsType, String kmsKeyId, Map<String,String> kmsProps, String doc, boolean shared) throws IOException, RestClientException
IOExceptionRestClientExceptionKek createKek(String name, String kmsType, String kmsKeyId, Map<String,String> kmsProps, String doc, boolean shared, boolean deleted) throws IOException, RestClientException
IOExceptionRestClientExceptionDek createDek(String kekName, String subject, DekFormat algorithm, String encryptedKeyMaterial) throws IOException, RestClientException
IOExceptionRestClientExceptionDek createDek(String kekName, String subject, int version, DekFormat algorithm, String encryptedKeyMaterial) throws IOException, RestClientException
IOExceptionRestClientExceptionDek createDek(String kekName, String subject, int version, DekFormat algorithm, String encryptedKeyMaterial, boolean deleted) throws IOException, RestClientException
IOExceptionRestClientExceptionDek createDek(String kekName, String subject, int version, DekFormat algorithm, String encryptedKeyMaterial, boolean deleted, boolean rewrap) throws IOException, RestClientException
IOExceptionRestClientExceptionKek updateKek(String name, Map<String,String> kmsProps, String doc, Boolean shared) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid deleteKek(String kekName, boolean permanentDelete) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid deleteDek(String kekName, String subject, DekFormat algorithm, boolean permanentDelete) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid deleteDekVersion(String kekName, String subject, int version, DekFormat algorithm, boolean permanentDelete) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid undeleteKek(String kekName) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid undeleteDek(String kekName, String subject, DekFormat algorithm) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid undeleteDekVersion(String kekName, String subject, int version, DekFormat algorithm) throws IOException, RestClientException
IOExceptionRestClientExceptionvoid reset()
default void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2026 Confluent, Inc.. All rights reserved.