The getSecurityObject
API fetches security object details by the Object UUID (Key Id).
C#
SecurityObjectsApi sObjectApi = new SecurityObjectsApi();
KeyObject key = sObjectApi.GetSecurityObject("<Key-UUID>");
Go
keyId := "<Key-UUID>"
sobjectDescriptor := sdkms.SobjectDescriptor {
Kid: &keyId,
}
key, err := client.GetSobject(ctx, nil, &sobjectDescriptor)
Java
KeyObject sobject = sobjectsApi.getSecurityObject(<Key-UUID>);
Python
api_instance = sdkms.v1. SecurityObjectsApi(api_client=client)
sobject = api_instance.get_security_object(<Key-UUID>)
REST API using curl
curl <Endpoint URL>/crypto/v1/key/<Key-UUID> -H 'Authorization: Bearer YhXwwa-6C...ig5g'