Skip to content

Commit

Permalink
Merge pull request #904 from gmsantos/patch-1
Browse files Browse the repository at this point in the history
Update Kubernetes auth method documentation to remove incorrect references to Azure.
  • Loading branch information
adammike committed Oct 25, 2022
2 parents d25c8da + 671be0f commit 163956e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hvac/api/auth_methods/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def create_role(
additional possibilities: default-service and default-batch which specify the type to return unless the
client requests a different type at generation time.
:type token_type: str
:param mount_point: The "path" the azure auth method was mounted on.
:param mount_point: The "path" the kubernetes auth method was mounted on.
:type mount_point: str | unicode
:return: The response of the request.
:rtype: requests.Response
Expand Down Expand Up @@ -271,12 +271,12 @@ def login(self, role, jwt, use_token=True, mount_point=DEFAULT_MOUNT_POINT):
:param role: Name of the role against which the login is being attempted.
:type role: str | unicode
:param jwt: Signed JSON Web Token (JWT) from Azure MSI.
:param jwt: Signed JSON Web Token (JWT) from Kubernetes service account.
:type jwt: str | unicode
:param use_token: if True, uses the token in the response received from the auth request to set the "token"
attribute on the the :py:meth:`hvac.adapters.Adapter` instance under the _adapater Client attribute.
:type use_token: bool
:param mount_point: The "path" the azure auth method was mounted on.
:param mount_point: The "path" the kubernetes auth method was mounted on.
:type mount_point: str | unicode
:return: The JSON response of the request.
:rtype: dict
Expand Down

0 comments on commit 163956e

Please sign in to comment.