mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-22 16:20:22 -07:00
k8s_auth: new k8s module for handling auth (#50807)
* k8s*: add a reference to k8s_auth in all the modules' descriptions * k8s_auth: new k8s module for handling auth * k8s_auth: ignore E203 Can't use module_utils.urls, since that lacks user CA support, which is a critical feature of what this module does.
This commit is contained in:
parent
2aa500c9a4
commit
34671a64b3
3 changed files with 343 additions and 0 deletions
|
@ -42,10 +42,14 @@ options:
|
|||
description:
|
||||
- Provide a username for authenticating with the API. Can also be specified via K8S_AUTH_USERNAME environment
|
||||
variable.
|
||||
- Please note that this only works with clusters configured to use HTTP Basic Auth. If your cluster has a
|
||||
different form of authentication (e.g. OAuth2 in OpenShift), this option will not work as expected and you
|
||||
should look into the C(k8s_auth) module, as that might do what you need.
|
||||
password:
|
||||
description:
|
||||
- Provide a password for authenticating with the API. Can also be specified via K8S_AUTH_PASSWORD environment
|
||||
variable.
|
||||
- Please read the description of the C(username) option for a discussion of when this option is applicable.
|
||||
cert_file:
|
||||
description:
|
||||
- Path to a certificate used to authenticate with the API. Can also be specified via K8S_AUTH_CERT_FILE environment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue