ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
56 lines (27 loc) • 963 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [readExternalSources](./ibm-cloud-sdk-core.readexternalsources.md)
## readExternalSources() function
Read properties stored in external sources like Environment Variables, the credentials file, VCAP services, etc. and return them as an object. The keys of this object will have the service name prefix removed and will be converted to lower camel case.
Only one source will be used at a time.
**Signature:**
```typescript
export declare function readExternalSources(serviceName: string): any;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
serviceName
</td><td>
string
</td><td>
the service name prefix
</td></tr>
</tbody></table>
**Returns:**
any