addDuoLDAPIdentitySource
The addDuoLDAPIdentitySource operation handles configuration related to DuoLDAPIdentitySource model.
Description
This API call is not allowed on the standby unit in an HA pair.
Data Parameters
Parameter | Required | Type | Description | |||
---|---|---|---|---|---|---|
name | True | string | The name of the Identity Source | |||
description | False | string | Description for this Duo LDAP Object Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist) |
|||
apiHostname | True | string | Hostname of the Duo LDAP server. This is the API hostname you obtain from your Duo account. The name starts with api- and ends with .duosecurity.com. Field level constraints: cannot be null, must be a valid host (FQDN or IP) or a list of valid hosts. (Note: Additional constraints might exist) |
|||
port | True | integer | The normal port is 636. Field level constraints: cannot be null, must be between 1 and 65535 (inclusive). (Note: Additional constraints might exist) |
|||
timeout | False | integer | Timeout in seconds to connect to Duo. The default timeout is 120 seconds while the minimum timeout is 1 second and the max timeout is 300 seconds. Field level constraints: must be between 1 and 300 (inclusive). (Note: Additional constraints might exist) |
|||
integrationKey | True | string | The Duo integration key. Obtain this key from your Duo account. Field level constraints: cannot be null, must match pattern ^[A-Z0-9]+$, length must be between 20 and 20 (inclusive). (Note: Additional constraints might exist) |
|||
secretKey | True | string | Secret key for Duo. Obtain this key from your Duo account. Field level constraints: cannot be null. (Note: Additional constraints might exist) |
|||
interface | False | object | Interface to connect to Duo, or null. If you do not specify an interface, the system uses the routing table to find the right interface. Allowed types are: [EtherChannelInterface, PhysicalInterface, SubInterface, VirtualTunnelInterface, VlanInterface] |
|||
type | True | string | duoldapidentitysource |
Example
- name: Execute 'addDuoLDAPIdentitySource' operation
ftd_configuration:
operation: "addDuoLDAPIdentitySource"
data:
name: "{{ name }}"
description: "{{ description }}"
apiHostname: "{{ api_hostname }}"
port: "{{ port }}"
timeout: "{{ timeout }}"
integrationKey: "{{ integration_key }}"
secretKey: "{{ secret_key }}"
interface: "{{ interface }}"
type: "{{ type }}"