Skip to content

Commit 97e4d3b

Browse files
committed
chore: fix typos
Signed-off-by: Norbert Biczo <[email protected]>
1 parent 83e423a commit 97e4d3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ specify the iam_account_id property as well.
235235
Exactly one of iam_profile_crn, iam_profile_id or iam_profile_name must be specified.
236236

237237
- iam_account_id: (optional) the ID associated with the IAM account that contains the trusted profile
238-
referenced by the iam_profile_name property. The imaAccountId property must be specified if and only if
238+
referenced by the iam_profile_name property. The iam_account_id property must be specified if and only if
239239
the iam_profile_name property is specified.
240240

241241
- url: (optional) The base endpoint URL of the IAM token service.
@@ -288,7 +288,7 @@ from ibm_cloud_sdk_core.authenticators import IAMAssumeAuthenticator
288288
from <sdk-package-name>.example_service_v1 import *
289289

290290
# Create the authenticator.
291-
authenticator = IAMAssumeAuthenticator('myapikey')
291+
authenticator = IAMAssumeAuthenticator('myapikey', iam_profile_id='my_profile_id')
292292

293293
# Construct the service instance.
294294
service = ExampleServiceV1(authenticator=authenticator)

ibm_cloud_sdk_core/token_managers/iam_assume_token_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
class IAMAssumeTokenManager(IAMRequestBasedTokenManager):
26-
"""The IAMTokenManager takes an api key and information about a trusted profile then performs the necessary
26+
"""The IAMAssumeTokenManager takes an api key and information about a trusted profile then performs the necessary
2727
interactions with the IAM token service to obtain and store a suitable bearer token. This token "assumes" the
2828
identity of the provided trusted profile.
2929
@@ -32,7 +32,7 @@ class IAMAssumeTokenManager(IAMRequestBasedTokenManager):
3232
iam_profile_crn (str): the CRN of the trusted profile
3333
iam_profile_name (str): the name of the trusted profile (must be used together with `iam_account_id`)
3434
iam_account_id (str): the ID of the trusted profile (must be used together with `iam_profile_name`)
35-
iam_deletgate (IAMTokenManager): an IAMTokenManager instance used to obtain the user's IAM access token
35+
iam_delegate (IAMTokenManager): an IAMTokenManager instance used to obtain the user's IAM access token
3636
from the `apikey`.
3737
url (str): The IAM endpoint to token requests.
3838
headers (dict): Default headers to be sent with every IAM token request.

0 commit comments

Comments
 (0)