Plex Auth Token
Here is a way of obtaining a Plex Access Token for your Plex account.
Saltbox Role¶
You will need your Plex credentials filled in ~/saltbox/accounts.yml
. If you already do, skip steps 2-4.
-
Go to the Saltbox folder:
cd ~/saltbox/
-
Open the file for editing:
nano accounts.yml
-
Fill in your Plex credentials:
plex: user: pass:
-
Save and exit: Ctrl + X Y Enter.
-
Run the following command:
sb install plex_auth_token
-
You will be shown your Plex Access Token in the log:
TASK [plex_auth_token : Display Plex Auth Token] *********************************************************************************** Tuesday 29 January 2019 21:08:33 +0100 (0:00:00.104) 0:00:13.905 ******* ok: [localhost] => { "msg": "Your Plex Auth Token is: XXXXXXXXXXXXXXXX" }