benschubert.infrastructure.authentik_certificate_info module – Allows retrieving information about certificates from the Authentik API
Note
This module is part of the benschubert.infrastructure collection (version 0.0.1).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install benschubert.infrastructure
.
To use it in a playbook, specify: benschubert.infrastructure.authentik_certificate_info
.
Synopsis
This module allows retrieving information from certificates from the Authentik API
Parameters
Parameter |
Comments |
---|---|
The token used to authenticate against the Authentik server |
|
The URL at which to contact the Authentik server |
|
PEM formatted file that contains a CA certificate to be used for validation |
|
The name of the certificate to retrieve |
|
The timeout to set when contacting the Authentik Server. If your server is slow to respond, it might be necessary to bump this Default: |
|
If false, SSL certificates will not be validated. This should only set to false used on personally controlled sites using self-signed certificates. Choices:
|
Examples
- name: Retrieve the default certificate from Authentik
benschubert.infrastructure.authentik_certificate_info]:
authentik_token: <my-secret-token>
authentik_url: https://authentik.test/
name: authentik Self-signed Certificate
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The information returned by the Authentik API for the certificate Returned: always Sample: |
|
Information on what happen Returned: always Sample: |