Skip to content

Commit 1500b45

Browse files
authored
Update README.md
included basic documentation on how to use oauth
1 parent 175a449 commit 1500b45

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ After creating and updating scripts, if enabled, it can delete any leftover scri
1818

1919
**Required** the url of your jamf instance
2020

21+
### `jamf_auth_type`
22+
23+
**Optional** Defaults to `auth` but can be set to `oauth` to use `client_id` and `client_secret` instead of a username and password.
24+
2125
### `jamf_username`
2226

23-
**Required** the username to auth against jamf. **This user should have permission to update and create scripts.**
27+
**Required** the username to auth against jamf. If `auth_type` is set to `oauth`, this is the `client_id` . **This user should have permission to update and create scripts.**
2428

2529
### `jamf_password`
2630

27-
**Required** password for the user
31+
**Required** password for the user. If `auth_type` is set to `oauth`, this is the `client_secret`
2832

2933
### `script_dir`
3034

0 commit comments

Comments
 (0)