Class KeyManagementOperations
java.lang.Object
co.ankatech.ankasecure.sdk.operations.KeyManagementOperations
Key management operations facade.
Public facade for key lifecycle management operations.
All methods are exposed via AuthenticatedSdk.
- Since:
- 3.0.0
- Author:
- ANKATech Solutions Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyManagementOperations(InternalServiceFactory svc, co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient openApiClient, org.slf4j.Logger userLogger) -
Method Summary
Modifier and TypeMethodDescriptiongetKeyMetadata(String kid) Retrieves complete metadata for a specific key.listAllKeys(KeyFilters filters) Lists ALL keys matching the filters via client-side auto-pagination (bounded; throws PaginationCeilingExceededException beyond the hard cap).listKeys(KeyFilters filters, int page, int size) Lists ONE PAGE of keys with optional server-side filters (applied BEFORE pagination — the page totals are filtered, tenant-scoped counts).
-
Constructor Details
-
KeyManagementOperations
public KeyManagementOperations(InternalServiceFactory svc, co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient openApiClient, org.slf4j.Logger userLogger)
-
-
Method Details
-
listKeys
Lists ONE PAGE of keys with optional server-side filters (applied BEFORE pagination — the page totals are filtered, tenant-scoped counts).- Throws:
AnkaSecureSdkException
-
listAllKeys
Lists ALL keys matching the filters via client-side auto-pagination (bounded; throws PaginationCeilingExceededException beyond the hard cap).- Throws:
AnkaSecureSdkException
-
getKeyMetadata
Retrieves complete metadata for a specific key.- Throws:
AnkaSecureSdkException
-