ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
54 lines (26 loc) • 884 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) > [ContainerAuthenticator](./ibm-cloud-sdk-core.containerauthenticator.md) > [setIamProfileName](./ibm-cloud-sdk-core.containerauthenticator.setiamprofilename.md)
## ContainerAuthenticator.setIamProfileName() method
Setter for the "profile\_name" parameter to use when fetching the bearer token from the IAM token server.
**Signature:**
```typescript
setIamProfileName(iamProfileName: string): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
iamProfileName
</td><td>
string
</td><td>
the name of the IAM trusted profile
</td></tr>
</tbody></table>
**Returns:**
void