2019-02-19 20:44:41 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Copyright: (c) 2017, Eike Frost <ei@kefro.st>
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Standard documentation fragment
|
2019-02-19 20:44:41 +00:00
|
|
|
DOCUMENTATION = r'''
|
2017-11-29 21:44:35 +00:00
|
|
|
options:
|
|
|
|
auth_keycloak_url:
|
|
|
|
description:
|
|
|
|
- URL to the Keycloak instance.
|
2019-02-19 20:44:41 +00:00
|
|
|
type: str
|
2017-11-29 21:44:35 +00:00
|
|
|
required: true
|
New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate
* BOTMETA maintainership for identity/keycloak namespace
* fix superfluous blank line
* catch ValueError when trying to decode JSON
* further documentation for protocol mappers and some checks
* whitespace fixes, YAML fixes
* remove state: dump, update argument_spec and documentation with suboptions
* add documentation for realm option
* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)
* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
|
|
|
aliases:
|
|
|
|
- url
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
auth_client_id:
|
|
|
|
description:
|
|
|
|
- OpenID Connect I(client_id) to authenticate to the API with.
|
2019-02-19 20:44:41 +00:00
|
|
|
type: str
|
2018-05-30 07:32:33 +00:00
|
|
|
default: admin-cli
|
2017-11-29 21:44:35 +00:00
|
|
|
required: true
|
|
|
|
|
|
|
|
auth_realm:
|
|
|
|
description:
|
|
|
|
- Keycloak realm name to authenticate to for API access.
|
2019-02-19 20:44:41 +00:00
|
|
|
type: str
|
2017-11-29 21:44:35 +00:00
|
|
|
required: true
|
|
|
|
|
|
|
|
auth_client_secret:
|
|
|
|
description:
|
|
|
|
- Client Secret to use in conjunction with I(auth_client_id) (if required).
|
2019-02-19 20:44:41 +00:00
|
|
|
type: str
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
auth_username:
|
|
|
|
description:
|
|
|
|
- Username to authenticate for API access with.
|
2019-02-19 20:44:41 +00:00
|
|
|
type: str
|
2017-11-29 21:44:35 +00:00
|
|
|
required: true
|
New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate
* BOTMETA maintainership for identity/keycloak namespace
* fix superfluous blank line
* catch ValueError when trying to decode JSON
* further documentation for protocol mappers and some checks
* whitespace fixes, YAML fixes
* remove state: dump, update argument_spec and documentation with suboptions
* add documentation for realm option
* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)
* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
|
|
|
aliases:
|
|
|
|
- username
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
auth_password:
|
|
|
|
description:
|
|
|
|
- Password to authenticate for API access with.
|
2019-02-19 20:44:41 +00:00
|
|
|
type: str
|
2017-11-29 21:44:35 +00:00
|
|
|
required: true
|
New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate
* BOTMETA maintainership for identity/keycloak namespace
* fix superfluous blank line
* catch ValueError when trying to decode JSON
* further documentation for protocol mappers and some checks
* whitespace fixes, YAML fixes
* remove state: dump, update argument_spec and documentation with suboptions
* add documentation for realm option
* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)
* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
|
|
|
aliases:
|
|
|
|
- password
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
validate_certs:
|
|
|
|
description:
|
|
|
|
- Verify TLS certificates (do not disable this in production).
|
2018-05-30 07:32:33 +00:00
|
|
|
type: bool
|
2019-02-19 20:44:41 +00:00
|
|
|
default: yes
|
2017-11-29 21:44:35 +00:00
|
|
|
'''
|