<!-- 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; [ContainerAuthenticator](./ibm-cloud-sdk-core.containerauthenticator.md) &gt; [setIamProfileId](./ibm-cloud-sdk-core.containerauthenticator.setiamprofileid.md)

## ContainerAuthenticator.setIamProfileId() method

Setter for the "profile\_id" parameter to use when fetching the bearer token from the IAM token server.

**Signature:**

```typescript
setIamProfileId(iamProfileId: string): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

iamProfileId


</td><td>

string


</td><td>

the ID of the IAM trusted profile


</td></tr>
</tbody></table>
**Returns:**

void

