---
lang: en
title: 'API docs: context.bindingkey'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.bindingkey.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [BindingKey](./context.bindingkey.md)

## BindingKey class

<b>Signature:</b>

```typescript
export declare class BindingKey<ValueType> 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [CONFIG\_NAMESPACE](./context.bindingkey.config_namespace.md) | <code>static</code> | <code>string</code> | Name space for configuration binding keys |
|  [key](./context.bindingkey.key.md) |  | <code>string</code> |  |
|  [PROPERTY\_SEPARATOR](./context.bindingkey.property_separator.md) | <code>static</code> | <code></code> |  |
|  [propertyPath](./context.bindingkey.propertypath.md) |  | <code>string &#124; undefined</code> |  |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [buildKeyForConfig(key)](./context.bindingkey.buildkeyforconfig.md) | <code>static</code> | Build a binding key for the configuration of the given binding. The format is <code>&lt;key&gt;:$config</code> |
|  [create(key, propertyPath)](./context.bindingkey.create.md) | <code>static</code> | Create a new key for a binding bound to a value of type <code>ValueType</code>. |
|  [deepProperty(propertyPath)](./context.bindingkey.deepproperty.md) |  | Get a binding address for retrieving a deep property of the object bound to the current binding key. |
|  [parseKeyWithPath(keyWithPath)](./context.bindingkey.parsekeywithpath.md) | <code>static</code> | Parse a string containing both the binding key and the path to the deeply nested property to retrieve. |
|  [toString()](./context.bindingkey.tostring.md) |  |  |
|  [validate(key)](./context.bindingkey.validate.md) | <code>static</code> | Validate the binding key format. Please note that <code>#</code> is reserved. Returns a string representation of the binding key. |


