cyberark.pas.cyberark_authentication – CyberArk Authentication using PAS Web Services SDK.¶
Note
This plugin is part of the cyberark.pas collection (version 1.0.5).
To install it use: ansible-galaxy collection install cyberark.pas
.
To use it in a playbook, specify: cyberark.pas.cyberark_authentication
.
New in version 2.4: of cyberark.pas
Synopsis¶
Authenticates to CyberArk Vault using Privileged Account Security Web Services SDK and creates a session fact that can be used by other modules. It returns an Ansible fact called cyberark_session. Every module can use this fact as
cyberark_session
parameter.
Parameters¶
Examples¶
- name: Logon - use_shared_logon_authentication
cyberark_authentication:
api_base_url: "{{ web_services_base_url }}"
use_shared_logon_authentication: yes
- name: Logon - Not use_shared_logon_authentication
cyberark_authentication:
api_base_url: "{{ web_services_base_url }}"
username: "{{ password_object.password }}"
password: "{{ password_object.passprops.username }}"
use_shared_logon_authentication: no
- name: Logoff from CyberArk Vault
cyberark_authentication:
state: absent
cyberark_session: "{{ cyberark_session }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Edward Nunez (@enunez-cyberark) CyberArk BizDev
Cyberark Bizdev (@cyberark-bizdev)
Erasmo Acosta (@erasmix)