<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [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

