cisco.ise.certificate_profile – Resource module for Certificate Profile

Note

This plugin is part of the cisco.ise collection (version 0.0.9).

To install it use: ansible-galaxy collection install cisco.ise.

To use it in a playbook, specify: cisco.ise.certificate_profile.

New in version 1.0.0: of cisco.ise

Synopsis

  • Manage operations create and update of the resource Certificate Profile.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • ciscoisesdk

Parameters

Parameter Choices/Defaults Comments
allowedAsUserName
boolean
    Choices:
  • no
  • yes
AllowedAsUserName flag.
certificateAttributeName
string
Certificate Profile's certificateAttributeName.
description
string
Certificate Profile's description.
externalIdentityStoreName
string
Certificate Profile's externalIdentityStoreName.
id
string
Certificate Profile's id.
matchMode
string
Certificate Profile's matchMode.
name
string
Certificate Profile's name.
usernameFrom
string
Certificate Profile's usernameFrom.

See Also

See also

cisco.ise.plugins.module_utils.definitions.certificate_profile

The official documentation on the cisco.ise.plugins.module_utils.definitions.certificate_profile module.

Certificate Profile reference

Complete reference of the Certificate Profile object model.

Examples

- name: Create
  cisco.ise.certificate_profile:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    allowedAsUserName: false
    certificateAttributeName: SUBJECT_COMMON_NAME
    description: Precreated Certificate Authorization Profile.
    externalIdentityStoreName: '[not applicable]'
    id: 925b6d20-8c01-11e6-996c-525400b48521
    matchMode: NEVER
    name: Preloaded_Certificate_Profile
    usernameFrom: CERTIFICATE

- name: Update by id
  cisco.ise.certificate_profile:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    allowedAsUserName: false
    certificateAttributeName: SUBJECT_COMMON_NAME
    description: Precreated Certificate Authorization Profile.
    externalIdentityStoreName: '[not applicable]'
    id: 925b6d20-8c01-11e6-996c-525400b48521
    matchMode: NEVER
    name: Preloaded_Certificate_Profile
    usernameFrom: CERTIFICATE

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
ise_response
dictionary
always
A dictionary or list with the response returned by the Cisco ISE Python SDK

Sample:
{}


Authors

  • Rafael Campos (@racampos)