Skip to content

ansible_api_key authentication option not working? #2

@nickyyam

Description

@nickyyam

as soon as i want to use ansible_api_ley authentication , the playbook fails.
ansible_ssh_user in combination with the ansible_ssh_pass works perfect.

I run the latest version of the Check Point mgmt Galaxy collection (https://galaxy.ansible.com/check_point/mgmt)

Anyone got the ansile_api_key working?

vars:
# Credentials for cp_mgmt* modules and Settings for the Check Point httpapi plugin that provides methods to connect to Checkpoint devices over a HTTP(S)-based api.
ansible_httpapi_use_ssl: True
ansible_httpapi_validate_certs: False
ansible_network_os: check_point.mgmt.checkpoint #Using Galaxy https://galaxy.ansible.com/check_point collection
ansible_checkpoint_domain: SMC User # Default domain for a SMS (SmartCenter)
ansible_user: api_user # Change to your Check Point management admin user
ansible_ssh_pass: vpn123 # Change to your Check Point management admin password
#ansible_api_key: xxxxxxxxxx # Optionally you can use API key instead of username and password

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions