Skip to content

Commit fce4dd1

Browse files
committed
chore: fix some typos
1 parent c07e658 commit fce4dd1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ form:
154154
- password: (required if apikey is not specified) the password used to obtain a bearer token.
155155
- url: (required) The URL representing the Cloud Pak for Data token service endpoint.
156156
- apikey: (required if password is not specified) the apikey used to obtain a bearer token.
157-
- disableSSLVerification: (optional) A flag that indicates whether verificaton of the server's SSL
157+
- disable_ssl_verification: (optional) A flag that indicates whether verification of the server's SSL
158158
certificate should be disabled or not. The default value is `false`.
159159
- headers: (optional) A set of key/value pairs that will be sent as HTTP headers in requests
160160
made to the IAM token service.
@@ -231,7 +231,7 @@ The IAM access token is added to each outbound request in the `Authorization` he
231231
- iam_profile_id: (optional) The ID of the linked trusted IAM profile to be used when obtaining the IAM access token (a CR token might map to multiple IAM profiles). One of `iam_profile_name` or `iam_profile_id` must be specified.
232232
- url: (optional) The URL representing the IAM token service endpoint. If not specified, a suitable default value is used.
233233
- client_id/client_secret: (optional) The `client_id` and `client_secret` fields are used to form a "basic auth" Authorization header for interactions with the IAM token server. If neither field is specified, then no Authorization header will be sent with token server requests. These fields are optional, but must be specified together.
234-
- disable_ssl_verification: (optional) A flag that indicates whether verificaton of the server's SSL certificate should be disabled or not. The default value is `False`.
234+
- disable_ssl_verification: (optional) A flag that indicates whether verification of the server's SSL certificate should be disabled or not. The default value is `False`.
235235
- scope (optional): the scope to be associated with the IAM access token.
236236
If not specified, then no scope will be associated with the access token.
237237
- proxies (optional): The proxy endpoint to use for HTTP(S) requests.

ibm_cloud_sdk_core/authenticators/container_authenticator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ContainerAuthenticator(IAMRequestBasedAuthenticator):
3333
(applies to IKS-managed compute resources). Defaults to "/var/run/secrets/tokens/vault-token".
3434
iam_profile_name: The name of the linked trusted IAM profile to be used when obtaining the IAM access token
3535
(a CR token might map to multiple IAM profiles). One of IAMProfileName or IAMProfileID must be specified.
36-
sDefaults to None.
36+
Defaults to None.
3737
iam_profile_id: The id of the linked trusted IAM profile to be used when obtaining the IAM access token
3838
(a CR token might map to multiple IAM profiles). One of IAMProfileName or IAMProfileID must be specified.
3939
Defaults to None.

ibm_cloud_sdk_core/token_managers/container_token_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ContainerTokenManager(IAMRequestBasedTokenManager):
2828
If the current stored bearer token has expired a new bearer token will be retrieved.
2929
3030
Attributes:
31-
container_token_filename(str): The name of the file containing the injected CR token value
31+
cr_token_filename(str): The name of the file containing the injected CR token value
3232
(applies to IKS-managed compute resources).
3333
iam_profile_name (str): The name of the linked trusted IAM profile to be used when obtaining the
3434
IAM access token (a CR token might map to multiple IAM profiles).
@@ -49,7 +49,7 @@ class ContainerTokenManager(IAMRequestBasedTokenManager):
4949
This can be used to obtain an access token with a specific scope.
5050
5151
Keyword Args:
52-
container_token_filename: The name of the file containing the injected CR token value
52+
cr_token_filename: The name of the file containing the injected CR token value
5353
(applies to IKS-managed compute resources). Defaults to "/var/run/secrets/tokens/vault-token".
5454
iam_profile_name: The name of the linked trusted IAM profile to be used when obtaining the IAM access token
5555
(a CR token might map to multiple IAM profiles). One of IAMProfileName or IAMProfileID must be specified.

0 commit comments

Comments
 (0)