willguibr.zpacloud.zpa_provisioning_key (1.1.1) — module

Create a Provisioning Key.

| "added in version" 1.0.0 of willguibr.zpacloud"

Authors: William Guilherme (@willguibr)

Install collection

Install with ansible-galaxy collection install willguibr.zpacloud:==1.1.1


Add to requirements.yml

  collections:
    - name: willguibr.zpacloud
      version: 1.1.1

Description

This module will create/update/delete a specific Provisioning Key by association type (CONNECTOR_GRP or SERVICE_EDGE_GRP).

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get ID Information of a Service Edge Group Enrollment Certificate
  willguibr.zpacloud.zpa_enrollement_certificate_info:
    name: "Service Edge"
  register: enrollment_cert_service_edge
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get ID Information of an Service Edge Group
  willguibr.zpacloud.zpa_service_edge_groups_info:
    name: "Example"
  register: service_edge_group
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: "Create/Update/Delete App Connector Group Provisioning Key"
  willguibr.zpacloud.zpa_provisioning_key:
    name: "App Connector Group Provisioning Key"
    association_type: "CONNECTOR_GRP"
    max_usage: "10"
    enrollment_cert_id: "{{ enrollment_cert_service_edge.data[0].id }}"
    zcomponent_id: "{{ service_edge_group.data[0].id }}"

Inputs

    
id:
    description: ''
    required: false
    type: str

name:
    description: ''
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description: ''
    type: str

ip_acl:
    description: ''
    required: false
    type: str

enabled:
    default: true
    description: ''
    required: false
    type: bool

client_id:
    description: ''
    required: false
    type: str

max_usage:
    description: ''
    required: true
    type: str

ui_config:
    description: ''
    required: false
    type: str

customer_id:
    description: ''
    required: false
    type: str

modified_by:
    description: ''
    required: false
    type: str

usage_count:
    description: ''
    required: false
    type: str

client_secret:
    description: ''
    required: false
    type: str

creation_time:
    description: ''
    required: false
    type: str

modified_time:
    description: ''
    required: false
    type: str

zcomponent_id:
    description: ''
    required: true
    type: str

zcomponent_name:
    description: ''
    required: false
    type: str

association_type:
    choices:
    - CONNECTOR_GRP
    - SERVICE_EDGE_GRP
    description: ''
    required: true
    type: str

provisioning_key:
    description: ''
    required: false
    type: str

enrollment_cert_id:
    description: ''
    required: true
    type: str

enrollment_cert_name:
    description: ''
    required: false
    type: str

app_connector_group_id:
    description: ''
    required: false
    type: str

expiration_in_epoch_sec:
    description: ''
    required: false
    type: str

app_connector_group_name:
    description: ''
    required: false
    type: str