--- title: "Details of Security Object by UUID" slug: "dsm-example-code-details-of-security-object-by-uuid" updated: 2024-12-10T17:35:00Z published: 2024-12-10T17:35:00Z canonical: "support.fortanix.com/dsm-example-code-details-of-security-object-by-uuid" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Details of Security Object by UUID The `getSecurityObject` API fetches security object details by the Object UUID (Key Id). - [C#](/docs/dsm-example-code-details-of-security-object-by-uuid#tabs-1) - [Go](/docs/dsm-example-code-details-of-security-object-by-uuid#tabs-2) - [Java](/docs/dsm-example-code-details-of-security-object-by-uuid#tabs-3) - [Python](/docs/dsm-example-code-details-of-security-object-by-uuid#tabs-4) - [REST API using curl](/docs/dsm-example-code-details-of-security-object-by-uuid#tabs-5) ### C# ```bash SecurityObjectsApi sObjectApi = new SecurityObjectsApi(); KeyObject key = sObjectApi.GetSecurityObject(""); ``` ### Go ```bash keyId := "" sobjectDescriptor := sdkms.SobjectDescriptor {    Kid: &keyId, } key, err := client.GetSobject(ctx, nil, &sobjectDescriptor) ``` ### Java ```bash KeyObject sobject = sobjectsApi.getSecurityObject(); ``` ### Python ```bash api_instance = sdkms.v1. SecurityObjectsApi(api_client=client) sobject = api_instance.get_security_object() ``` ### REST API using curl ```bash curl /crypto/v1/key/ -H 'Authorization: Bearer YhXwwa-6C...ig5g' ``` ## Related - [Introduction](/dsm-example-code-introduction.md)