<!-- 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; [IamAssumeTokenManager](./ibm-cloud-sdk-core.iamassumetokenmanager.md) &gt; [setClientIdAndSecret](./ibm-cloud-sdk-core.iamassumetokenmanager.setclientidandsecret.md)

## IamAssumeTokenManager.setClientIdAndSecret() method

Sets the IAM "clientId" and "clientSecret" values for the IAM delegate.

**Signature:**

```typescript
setClientIdAndSecret(clientId: string, clientSecret: string): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

clientId


</td><td>

string


</td><td>

the client id.


</td></tr>
<tr><td>

clientSecret


</td><td>

string


</td><td>

the client secret.


</td></tr>
</tbody></table>
**Returns:**

void

