# Function: ownedKey()

```ts
function ownedKey(root, name): Promise<string>;
```

Defined in: [packages/core/src/records/key.ts:59](https://github.com/leifriksheim/minca/blob/main/core/src/records/key.ts#L59)

The key `name` has in `root`'s namespace: `<owner>.<name>`

## Parameters

| Parameter | Type |
| ------ | ------ |
| `root` | `string` |
| `name` | `string` |

## Returns

`Promise`\<`string`\>
