ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
54 lines (26 loc) • 905 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [VpcInstanceAuthenticator](./ibm-cloud-sdk-core.vpcinstanceauthenticator.md) > [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