auth
Manage token authentication with CrowdStrike Falcon API. Utilizing access tokens can enhance efficiency when making multiple API calls
Added in version 4.0.0
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
access_token | str | No | The OAuth2 access token to be revoked. Required if I(action=revoke). | |
action | str | No | generate | Define the action to be performed. When I(action=generate), this module returns authentication credentials, When I(action=revoke), this module revokes the OAuth2 token specified in generate revoke |
Examples
Section titled “Examples”- name: Generate Authentication Credentials (access token and cloud region) crowdstrike.falcon.auth:
- name: Generate Authentication Credentials with specific member CID crowdstrike.falcon.auth: member_cid: "{{ member_cid_var }}"
- name: Revoke an OAuth2 token crowdstrike.falcon.auth: action: revoke access_token: "{{ access_token_var }}"Return Values
Section titled “Return Values”| Key | Type | Description |
|---|---|---|
auth | T |