targetCreateLdap is a command that creates a new ldap target
Name | Type | Description | Notes |
---|---|---|---|
bind_dn | str | Bind DN | |
bind_dn_password | str | Bind DN Password | |
description | str | Description of the object | [optional] |
var_json | bool | Set output format to JSON | [optional] [default to False] |
key | str | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
ldap_ca_cert | str | CA Certificate File Content | [optional] |
ldap_url | str | LDAP Server URL | |
max_versions | str | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
name | str | Target name | |
server_type | str | Set Ldap server type, Options:[OpenLDAP, ActiveDirectory]. Default is OpenLDAP | [optional] [default to 'OpenLDAP'] |
token | str | Authentication token (see `/auth` and `/configure`) | [optional] |
token_expiration | str | Token expiration | [optional] |
uid_token | str | The universal identity token, Required only for universal_identity authentication | [optional] |
from akeyless.models.target_create_ldap import TargetCreateLdap
# TODO update the JSON string below
json = "{}"
# create an instance of TargetCreateLdap from a JSON string
target_create_ldap_instance = TargetCreateLdap.from_json(json)
# print the JSON string representation of the object
print(TargetCreateLdap.to_json())
# convert the object into a dict
target_create_ldap_dict = target_create_ldap_instance.to_dict()
# create an instance of TargetCreateLdap from a dict
target_create_ldap_from_dict = TargetCreateLdap.from_dict(target_create_ldap_dict)