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

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

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [ConfigInjectionMetadata](./context.configinjectionmetadata.md) &gt; [fromBinding](./context.configinjectionmetadata.frombinding.md)

## ConfigInjectionMetadata.fromBinding property

Customize the target binding key from which the configuration is fetched. If not specified, the configuration of the current binding that contains the injection is used.

<b>Signature:</b>

```typescript
fromBinding?: BindingAddress;
```

