zscaler.zpacloud.zpa_enrollement_certificate_info module – Retrieves enrollment certificate information.
Note
This module is part of the zscaler.zpacloud collection (version 1.4.2).
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 zscaler.zpacloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: zscaler.zpacloud.zpa_enrollement_certificate_info
.
New in zscaler.zpacloud 1.0.0
Synopsis
This module will allow the retrieval of information about a Enrollment Certificate detail from the ZPA Cloud.
Requirements
The below requirements are needed on the host that executes this module.
Zscaler SDK Python can be obtained from PyPI https://pypi.org/project/zscaler-sdk-python/
Parameters
Parameter |
Comments |
---|---|
The ZPA API client ID generated from the ZPA console. |
|
The ZPA API client secret generated from the ZPA console. |
|
The ZPA cloud provisioned for your organization. Choices:
|
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
|
ID of the browser certificate. |
|
Name of the browser certificate. |
|
A dict object containing authentication details. |
|
The ZPA API client ID generated from the ZPA console. |
|
The ZPA API client secret generated from the ZPA console. |
|
The ZPA cloud provisioned for your organization. Choices:
|
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
Notes
Note
Check mode is not supported.
Examples
- name: Gather Information Details of All Enrollment Certificates
zscaler.zpacloud.zpa_enrollment_cert_facts:
provider: "{{ zpa_cloud }}"
- name: Gather Information Details of the Root Enrollment Certificates by Name
zscaler.zpacloud.zpa_enrollment_cert_facts:
provider: "{{ zpa_cloud }}"
name: "Root"
- name: Gather Information Details of the Client Enrollment Certificates by Name
zscaler.zpacloud.zpa_enrollment_cert_facts:
provider: "{{ zpa_cloud }}"
name: "Client"
- name: Gather Information Details of the Connector Enrollment Certificates by Name
zscaler.zpacloud.zpa_enrollment_cert_facts:
provider: "{{ zpa_cloud }}"
name: "Connector"
- name: Gather Information Details of the Service Edge Enrollment Certificates by Name
zscaler.zpacloud.zpa_enrollment_cert_facts:
provider: "{{ zpa_cloud }}"
name: "Service Edge"
- name: Gather Information Details of the Isolation Client Enrollment Certificates by Name
zscaler.zpacloud.zpa_enrollment_cert_facts:
provider: "{{ zpa_cloud }}"
name: "Isolation Client"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details of the Enrollment Certificates. Returned: always |
|
Indicates whether signing is allowed for this Enrollment Certificate. Returned: always Sample: |
|
The common name (CN) of the Enrollment Certificate. Returned: always Sample: |
|
The full certificate in PEM format. Returned: always Sample: |
|
The type of client certificate associated with the Enrollment Certificate. Returned: always Sample: |
|
The time when the Enrollment Certificate was created, in epoch format. Returned: always Sample: |
|
The Certificate Signing Request (CSR) associated with the Enrollment Certificate in PEM format. Returned: always Sample: |
|
The description of the Enrollment Certificate. Returned: always Sample: |
|
The unique identifier of the Enrollment Certificate. Returned: always Sample: |
|
The issuer of the Enrollment Certificate. Returned: always Sample: |
|
The entity to which the Enrollment Certificate was issued. Returned: always Sample: |
|
The ID of the user who last modified the Enrollment Certificate. Returned: always Sample: |
|
The time when the Enrollment Certificate was last modified, in epoch format. Returned: always Sample: |
|
The name of the Enrollment Certificate. Returned: always Sample: |
|
The unique identifier of the parent certificate if this is an intermediate certificate. Returned: always Sample: |
|
The name of the parent certificate. Returned: always Sample: |
|
Indicates whether the private key is present for the Enrollment Certificate. Returned: always Sample: |
|
The serial number of the Enrollment Certificate. Returned: always Sample: |
|
The start of the certificate validity period in epoch seconds. Returned: always Sample: |
|
The end of the certificate validity period in epoch seconds. Returned: always Sample: |