.. Document meta :orphan: .. Anchors .. _ansible_collections.cisco.dnac.device_credential_info_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.dnac.device_credential_info -- Information module for Device Credential +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `cisco.dnac collection `_ (version 3.0.0). To install it use: :code:`ansible-galaxy collection install cisco.dnac`. To use it in a playbook, specify: :code:`cisco.dnac.device_credential_info`. .. version_added .. versionadded:: 1.0.0 of cisco.dnac .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Get all Device Credential. .. note:: This module has a corresponding :ref:`action plugin `. .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the host that executes this module. - dnacentersdk .. Options Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
siteId
string
SiteId query parameter. Site id to retrieve the credential details associated with the site.

.. Notes .. Seealso See Also -------- .. seealso:: `Device Credential reference `_ Complete reference of the Device Credential object model. .. Examples Examples -------- .. code-block:: yaml+jinja - name: Get all Device Credential cisco.dnac.device_credential_info: 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}}" siteId: string register: result .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. raw:: html
Key Returned Description
dnac_response
dictionary
always
A dictionary or list with the response returned by the Cisco DNAC Python SDK

Sample:
{ "snmp_v3": [ { "username": "string", "authPassword": "string", "authType": "string", "privacyPassword": "string", "privacyType": "string", "snmpMode": "string", "comments": "string", "description": "string", "credentialType": "string", "instanceUuid": "string", "instanceTenantId": "string", "id": "string" } ], "http_read": [ { "secure": "string", "username": "string", "password": "string", "port": "string", "comments": "string", "description": "string", "credentialType": "string", "instanceUuid": "string", "instanceTenantId": "string", "id": "string" } ], "http_write": [ { "secure": "string", "username": "string", "password": "string", "port": "string", "comments": "string", "description": "string", "credentialType": "string", "instanceUuid": "string", "instanceTenantId": "string", "id": "string" } ], "snmp_v2_write": [ { "writeCommunity": "string", "comments": "string", "description": "string", "credentialType": "string", "instanceUuid": "string", "instanceTenantId": "string", "id": "string" } ], "snmp_v2_read": [ { "readCommunity": "string", "comments": "string", "description": "string", "credentialType": "string", "instanceUuid": "string", "instanceTenantId": "string", "id": "string" } ], "cli": [ { "username": "string", "enablePassword": "string", "password": "string", "comments": "string", "description": "string", "credentialType": "string", "instanceUuid": "string", "instanceTenantId": "string", "id": "string" } ] }


.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Rafael Campos (@racampos) .. Parsing errors