`__.
- Attributes are multi\-valued in the Keycloak API. All attributes are lists of individual values and are returned that way by this module. You may pass single values for attributes when calling the module, and this is translated into a list suitable for the API.
.. Aliases
.. Requirements
.. Options
Parameters
----------
.. raw:: html
Parameter |
Comments |
auth_keycloak_url
aliases: url
string
/ required
|
URL to the Keycloak instance.
|
|
They Keycloak realm ID.
Default: "master"
|
|
Verify TLS certificates (do not disable this in production).
Choices:
|
.. Attributes
Attributes
----------
.. tabularcolumns:: \X{2}{10}\X{3}{10}\X{5}{10}
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
:class: longtable ansible-option-table
* - Attribute
- Support
- Description
* - .. raw:: html
.. _ansible_collections.middleware_automation.keycloak.keycloak_realm_info_module__attribute-check_mode:
.. rst-class:: ansible-option-title
**check_mode**
.. raw:: html
.. raw:: html
- .. raw:: html
:ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
This action does not modify state.
.. raw:: html
- .. raw:: html
Can run in :literal:`check\_mode` and return changed status prediction without modifying target.
.. raw:: html
* - .. raw:: html
.. _ansible_collections.middleware_automation.keycloak.keycloak_realm_info_module__attribute-diff_mode:
.. rst-class:: ansible-option-title
**diff_mode**
.. raw:: html
.. raw:: html
- .. raw:: html
:ansible-attribute-support-label:`Support: \ ` \ :ansible-attribute-support-na:`N/A`
This action does not modify state.
.. raw:: html
- .. raw:: html
Will return details on what has changed (or possibly needs changing in :literal:`check\_mode`\ ), when in diff mode.
.. raw:: html
.. Notes
.. Seealso
.. Examples
Examples
--------
.. code-block:: yaml+jinja
- name: Get a Keycloak public key
middleware_automation.keycloak.keycloak_realm_info:
realm: MyCustomRealm
auth_keycloak_url: https://auth.example.com
delegate_to: localhost
.. Facts
.. Return values
Return Values
-------------
Common return values are documented :ref:`here `, the following are the fields unique to this module:
.. raw:: html
Key |
Description |
|
Message as to what action was taken.
Returned: always
|
|
Representation of the realm public information.
Returned: always
|
|
Account console URL.
Returned: always
Sample: "https://auth.example.com/realms/MyRealm/account"
|
|
Public key of the realm.
Returned: always
Sample: "MIIBIjANBgkqhkiG9w0BAQEFAAO..."
|
|
Realm ID.
Returned: always
Sample: "MyRealm"
|
|
Token endpoint URL.
Returned: always
Sample: "https://auth.example.com/realms/MyRealm/protocol/openid-connect"
|
tokens-not-before
integer
|
The token not before.
Returned: always
Sample: 0
|
.. Status (Presently only deprecated)
.. Authors
Authors
~~~~~~~
- Fynn Chen (@fynncfchen)
.. Extra links
.. Parsing errors