PARALLAX

cp_mgmt_add_api_key

Add API key for administrator, to enable login with it. For the key to be valid publish is needed through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_add_api_key

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Add API key for administrator, to enable login with it. For the key to be valid publish is needed through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
admin_namestrAdministrator name to generate API key for.
admin_uidstrAdministrator uid to generate API key for.
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
versionstrManagement API version path; omitted uses the default API version.
wait_for_taskbooltrueWait for returned asynchronous task identifiers; default true.
wait_for_task_timeoutint30Polling deadline in minutes; default 30, negative values use 30, maximum 1440.

Example

yaml
- name: add-api-key
  check_point.mgmt.cp_mgmt_add_api_key:
    admin_name: admin
Search
    ↑ ↓ move↵ openesc close