ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
54 lines (26 loc) • 897 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) > [setIamProfileId](./ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofileid.md)
## VpcInstanceAuthenticator.setIamProfileId() method
Sets the "iamProfileId" value to be used when obtaining an IAM access token
**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 linked IAM trusted profile to use when obtaining an IAM access token
</td></tr>
</tbody></table>
**Returns:**
void