cisco / cisco.dnac / 6.13.3 / module / device_credential_create Resource module for Device Credential Create | "added in version" 3.1.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.device_credential_create (6.13.3) — module
Install with ansible-galaxy collection install cisco.dnac:==6.13.3
collections: - name: cisco.dnac version: 6.13.3
Manage operation create of the resource Device Credential Create.
API to create device credentials.
- name: Create cisco.dnac.device_credential_create: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" settings: cliCredential: - description: string enablePassword: string password: string username: string httpsRead: - name: string password: string port: 0 username: string httpsWrite: - name: string password: string port: 0 username: string snmpV2cRead: - description: string readCommunity: string snmpV2cWrite: - description: string writeCommunity: string snmpV3: - authPassword: string authType: string description: string privacyPassword: string privacyType: string snmpMode: string username: string
settings: description: Device Credential Create's settings. suboptions: cliCredential: description: Device Credential Create's cliCredential. elements: dict suboptions: description: description: Name or description for CLI credential. type: str enablePassword: description: Enable password for CLI credential. type: str password: description: Password for CLI credential. type: str username: description: User name for CLI credential. type: str type: list httpsRead: description: Device Credential Create's httpsRead. elements: dict suboptions: name: description: Name or description of http read credential. type: str password: description: Password for http read credential. type: str port: description: Port for http read credential. type: int username: description: User name of the http read credential. type: str type: list httpsWrite: description: Device Credential Create's httpsWrite. elements: dict suboptions: name: description: Name or description of http write credential. type: str password: description: Password for http write credential. type: str port: description: Port for http write credential. type: int username: description: User name of the http write credential. type: str type: list snmpV2cRead: description: Device Credential Create's snmpV2cRead. elements: dict suboptions: description: description: Description for snmp v2 read. type: str readCommunity: description: Ready community for snmp v2 read credential. type: str type: list snmpV2cWrite: description: Device Credential Create's snmpV2cWrite. elements: dict suboptions: description: description: Description for snmp v2 write. type: str writeCommunity: description: Write community for snmp v2 write credential. type: str type: list snmpV3: description: Device Credential Create's snmpV3. elements: dict suboptions: authPassword: description: Authentication password for snmpv3 credential. type: str authType: description: Authentication type for snmpv3 credential. type: str description: description: Name or description for SNMPV3 credential. type: str privacyPassword: description: Privacy password for snmpv3 credential. type: str privacyType: description: Privacy type for snmpv3 credential. type: str snmpMode: description: Mode for snmpv3 credential. type: str username: description: User name for SNMPv3 credential. type: str type: list type: dict dnac_host: description: - The Cisco DNA Center hostname. required: true type: str dnac_port: default: 443 description: - The Cisco DNA Center port. type: int dnac_debug: default: false description: - Flag for Cisco DNA Center SDK to enable debugging. type: bool dnac_verify: default: true description: - Flag to enable or disable SSL certificate verification. type: bool dnac_version: default: 2.3.5.3 description: - Informs the SDK which version of Cisco DNA Center to use. type: str dnac_password: description: - The Cisco DNA Center password to authenticate. type: str dnac_username: aliases: - user default: admin description: - The Cisco DNA Center username to authenticate. type: str validate_response_schema: default: true description: - Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema. type: bool
dnac_response: description: A dictionary or list with the response returned by the Cisco DNAC Python SDK returned: always sample: "{\n \"executionId\": \"string\",\n \"executionStatusUrl\": \"string\"\ ,\n \"message\": \"string\"\n}\n" type: dict