check_point.mgmt.cp_mgmt_delete_api_key (5.2.3) — module

Delete the API key. For the key to be invalid publish is needed.

| "added in version" 2.0.0 of check_point.mgmt"

Authors: Or Soffer (@chkp-orso)

preview | supported by community

Install collection

Install with ansible-galaxy collection install check_point.mgmt:==5.2.3


Add to requirements.yml

  collections:
    - name: check_point.mgmt
      version: 5.2.3

Description

Delete the API key. For the key to be invalid publish is needed.

All operations are performed over Web Services API.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: delete-api-key
  cp_mgmt_delete_api_key:
    #sgignore next_line
    api_key: eea3be76f4a8eb740ee872bcedc692748ff256a2d21c9ffd2754facbde046d00

Inputs

    
api_key:
    description:
    - API key to be deleted.
    type: str

version:
    description:
    - Version of checkpoint. If not given one, the latest version taken.
    type: str

admin_uid:
    description:
    - Administrator uid to generate API key for.
    type: str

admin_name:
    description:
    - Administrator name to generate API key for.
    type: str

wait_for_task:
    default: true
    description:
    - Wait for the task to end. Such as publish task.
    type: bool

auto_publish_session:
    default: false
    description:
    - Publish the current session if changes have been performed after task completes.
    type: bool

wait_for_task_timeout:
    default: 30
    description:
    - How many minutes to wait until throwing a timeout error.
    type: int

Outputs

cp_mgmt_delete_api_key:
  description: The checkpoint delete-api-key output.
  returned: always.
  type: dict