<!-- 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; [VpcInstanceAuthenticator](./ibm-cloud-sdk-core.vpcinstanceauthenticator.md) &gt; [setIamProfileCrn](./ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofilecrn.md)

## VpcInstanceAuthenticator.setIamProfileCrn() method

Sets the "iamProfileCrn" value to be used when obtaining an IAM access token

**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 linked IAM trusted profile to use when obtaining an IAM access token


</td></tr>
</tbody></table>
**Returns:**

void

