<!-- 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; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) &gt; [setIamProfileCrn](./ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofilecrn.md)

## VpcInstanceTokenManager.setIamProfileCrn() method

Sets the CRN of the IAM trusted profile to use when fetching the access token from the IAM token server.

**Signature:**

```typescript
setIamProfileCrn(iamProfileCrn: string): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

iamProfileCrn


</td><td>

string


</td><td>

the CRN of the IAM trusted profile


</td></tr>
</tbody></table>
**Returns:**

void

