bt-cli 0.4.7__py3-none-any.whl → 0.4.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bt_cli/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """BeyondTrust Unified Admin CLI."""
2
2
 
3
- __version__ = "0.4.7"
3
+ __version__ = "0.4.8"
@@ -0,0 +1,416 @@
1
+ Metadata-Version: 2.4
2
+ Name: bt-cli
3
+ Version: 0.4.8
4
+ Summary: BeyondTrust Platform CLI (unofficial) - Password Safe, Entitle, PRA, EPM
5
+ Author-email: Dave Grendysz <dgrendysz@beyondtrust.com>
6
+ License: MIT
7
+ Keywords: beyondtrust,cli,pam,password-safe,privileged-access,security
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Environment :: Console
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Intended Audience :: System Administrators
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Security
19
+ Classifier: Topic :: System :: Systems Administration
20
+ Requires-Python: >=3.10
21
+ Requires-Dist: httpx>=0.27.0
22
+ Requires-Dist: pydantic>=2.0.0
23
+ Requires-Dist: python-dotenv>=1.0.0
24
+ Requires-Dist: pyyaml>=6.0.0
25
+ Requires-Dist: rich<15.0.0,>=13.7.0
26
+ Requires-Dist: shellingham>=1.5.0
27
+ Requires-Dist: typer<1.0.0,>=0.12.0
28
+ Provides-Extra: all
29
+ Requires-Dist: keyring>=24.0.0; extra == 'all'
30
+ Provides-Extra: dev
31
+ Requires-Dist: pyinstaller>=6.0.0; extra == 'dev'
32
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
33
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
34
+ Requires-Dist: pytest>=8.0.0; extra == 'dev'
35
+ Requires-Dist: respx>=0.21.0; extra == 'dev'
36
+ Provides-Extra: keyring
37
+ Requires-Dist: keyring>=24.0.0; extra == 'keyring'
38
+ Provides-Extra: test
39
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'test'
40
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
41
+ Requires-Dist: pytest>=8.0.0; extra == 'test'
42
+ Requires-Dist: respx>=0.21.0; extra == 'test'
43
+ Description-Content-Type: text/markdown
44
+
45
+ # BT-CLI
46
+
47
+ Unofficial BeyondTrust Platform CLI - manage privileged access across your environment from a single command line.
48
+
49
+ ## Supported Products
50
+
51
+ | Product | Command | Description |
52
+ |---------|---------|-------------|
53
+ | **Password Safe** | `bt pws` | Credential vaulting, secrets management, password rotation |
54
+ | **Entitle** | `bt entitle` | Just-in-time access requests and approval workflows |
55
+ | **PRA** | `bt pra` | Privileged remote access - jump items, sessions, vault |
56
+ | **EPM Windows** | `bt epmw` | Endpoint privilege management - computers, policies, admin requests |
57
+
58
+ ## Installation
59
+
60
+ ```bash
61
+ pip install bt-cli
62
+ bt version
63
+ ```
64
+
65
+ ## Configuration
66
+
67
+ Set environment variables for each product you want to use. You only need to configure the products you'll use.
68
+
69
+ ### Password Safe
70
+
71
+ ```bash
72
+ # Option 1: OAuth (recommended)
73
+ export BT_PWS_API_URL=https://your-server/BeyondTrust/api/public/v3
74
+ export BT_PWS_CLIENT_ID=your-client-id
75
+ export BT_PWS_CLIENT_SECRET=your-client-secret
76
+
77
+ # Option 2: API Key
78
+ export BT_PWS_API_URL=https://your-server/BeyondTrust/api/public/v3
79
+ export BT_PWS_API_KEY=your-api-key
80
+ ```
81
+
82
+ ### Entitle
83
+
84
+ ```bash
85
+ export BT_ENTITLE_API_URL=https://api.us.entitle.io
86
+ export BT_ENTITLE_API_KEY=your-api-key
87
+ ```
88
+
89
+ ### PRA (Privileged Remote Access)
90
+
91
+ ```bash
92
+ export BT_PRA_API_URL=https://your-site.beyondtrustcloud.com
93
+ export BT_PRA_CLIENT_ID=your-client-id
94
+ export BT_PRA_CLIENT_SECRET=your-client-secret
95
+ ```
96
+
97
+ ### EPM Windows
98
+
99
+ ```bash
100
+ export BT_EPM_API_URL=https://your-site-services.epm.bt3ng.com
101
+ export BT_EPM_CLIENT_ID=your-client-id
102
+ export BT_EPM_CLIENT_SECRET=your-client-secret
103
+ ```
104
+
105
+ ### Using a .env File
106
+
107
+ Create a `.env` file and source it before running commands:
108
+
109
+ ```bash
110
+ source .env
111
+ bt pws auth test
112
+ ```
113
+
114
+ ### Test Your Configuration
115
+
116
+ ```bash
117
+ bt pws auth test # Test Password Safe connection
118
+ bt entitle auth test # Test Entitle connection
119
+ bt pra auth test # Test PRA connection
120
+ bt epmw auth test # Test EPM Windows connection
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Command Reference
126
+
127
+ ### Password Safe (`bt pws`)
128
+
129
+ #### Systems
130
+ ```bash
131
+ bt pws systems list # List all managed systems
132
+ bt pws systems list -o json # Output as JSON
133
+ bt pws systems get <system-id> # Get system details
134
+ bt pws systems create -n "name" -i "10.0.1.50" -w <workgroup-id> -p <platform-id>
135
+ bt pws systems delete <system-id>
136
+ ```
137
+
138
+ #### Accounts
139
+ ```bash
140
+ bt pws accounts list # List all managed accounts
141
+ bt pws accounts list -s <system-id> # List accounts for a system
142
+ bt pws accounts get <account-id> # Get account details
143
+ ```
144
+
145
+ #### Credentials (Checkout/Checkin)
146
+ ```bash
147
+ bt pws credentials request <system> <account> # Request credential checkout
148
+ bt pws credentials show <request-id> # Show checked-out password
149
+ bt pws credentials checkin <request-id> # Check in credential
150
+ ```
151
+
152
+ #### Secrets Safe
153
+ ```bash
154
+ bt pws secrets safes list # List safes
155
+ bt pws secrets folders list <safe> # List folders in a safe
156
+ bt pws secrets list <safe> <folder> # List secrets
157
+ bt pws secrets get <safe> <folder> <title> # Get secret value
158
+ bt pws secrets create <safe> <folder> <title> <value>
159
+ ```
160
+
161
+ #### Quick Commands (Workflows)
162
+ ```bash
163
+ # Checkout a credential (combines request + show)
164
+ bt pws quick checkout -s "system-name" -a "account-name"
165
+ bt pws quick checkout -s "system-name" -a "account-name" --raw # Password only
166
+
167
+ # Onboard a new system with account
168
+ bt pws quick onboard -n "hostname" -i "10.0.1.50" -w <workgroup-id> -f <functional-account-id>
169
+
170
+ # Offboard (remove system and accounts)
171
+ bt pws quick offboard -s "system-name"
172
+ ```
173
+
174
+ #### Other Commands
175
+ ```bash
176
+ bt pws workgroups list # List workgroups
177
+ bt pws platforms list # List platforms
178
+ bt pws functional list # List functional accounts
179
+ ```
180
+
181
+ ---
182
+
183
+ ### Entitle (`bt entitle`)
184
+
185
+ #### Integrations
186
+ ```bash
187
+ bt entitle integrations list # List all integrations
188
+ bt entitle integrations get <id> # Get integration details
189
+ ```
190
+
191
+ #### Resources
192
+ ```bash
193
+ bt entitle resources list # List all resources
194
+ bt entitle resources list -s "search" # Search resources
195
+ bt entitle resources get <id> # Get resource details
196
+ ```
197
+
198
+ #### Bundles
199
+ ```bash
200
+ bt entitle bundles list # List access bundles
201
+ bt entitle bundles get <id> # Get bundle details
202
+ ```
203
+
204
+ #### Workflows
205
+ ```bash
206
+ bt entitle workflows list # List approval workflows
207
+ bt entitle workflows get <id> # Get workflow details
208
+ ```
209
+
210
+ #### Permissions
211
+ ```bash
212
+ bt entitle permissions list # List all permissions
213
+ bt entitle permissions list -u <user> # List user's permissions
214
+ bt entitle permissions revoke <id> # Revoke a permission
215
+ ```
216
+
217
+ #### Users
218
+ ```bash
219
+ bt entitle users list # List users
220
+ bt entitle users get <id> # Get user details
221
+ ```
222
+
223
+ ---
224
+
225
+ ### PRA (`bt pra`)
226
+
227
+ #### Jump Items - Shell (SSH)
228
+ ```bash
229
+ bt pra jump-items shell list # List SSH jump items
230
+ bt pra jump-items shell get <id> # Get jump item details
231
+ bt pra jump-items shell create -n "name" -h "hostname" -j <jumpoint-id> -g <jump-group-id>
232
+ bt pra jump-items shell delete <id>
233
+ ```
234
+
235
+ #### Jump Items - RDP
236
+ ```bash
237
+ bt pra jump-items rdp list # List RDP jump items
238
+ bt pra jump-items rdp create -n "name" -h "hostname" -j <jumpoint-id> -g <jump-group-id>
239
+ ```
240
+
241
+ #### Vault Accounts
242
+ ```bash
243
+ bt pra vault list # List vault accounts
244
+ bt pra vault get <id> # Get vault account details
245
+ bt pra vault checkout <id> # Checkout credentials
246
+ bt pra vault checkin <id> # Checkin credentials
247
+ bt pra vault rotate <id> # Rotate password
248
+ ```
249
+
250
+ #### Jump Groups
251
+ ```bash
252
+ bt pra jump-groups list # List jump groups
253
+ bt pra jump-groups get <id> # Get group details
254
+ bt pra jump-groups create -n "name" # Create jump group
255
+ ```
256
+
257
+ #### Jumpoints
258
+ ```bash
259
+ bt pra jumpoints list # List jumpoints
260
+ bt pra jumpoints get <id> # Get jumpoint details
261
+ ```
262
+
263
+ #### Quick Commands
264
+ ```bash
265
+ # Create shell jump with vault account
266
+ bt pra quick shell-jump -n "name" -h "host" -j <jumpoint> -g <group> --vault-account <account-id>
267
+ ```
268
+
269
+ ---
270
+
271
+ ### EPM Windows (`bt epmw`)
272
+
273
+ #### Computers
274
+ ```bash
275
+ bt epmw computers list # List managed computers
276
+ bt epmw computers list -o json # Output as JSON
277
+ bt epmw computers get <id> # Get computer details
278
+ bt epmw computers archive <id> # Archive (remove) computer
279
+ ```
280
+
281
+ #### Groups
282
+ ```bash
283
+ bt epmw groups list # List computer groups
284
+ bt epmw groups get <id> # Get group details
285
+ ```
286
+
287
+ #### Policies
288
+ ```bash
289
+ bt epmw policies list # List policies
290
+ bt epmw policies get <id> # Get policy details
291
+ bt epmw policies download <id> # Download policy XML
292
+ ```
293
+
294
+ #### Admin Requests
295
+ ```bash
296
+ bt epmw requests list # List pending requests
297
+ bt epmw requests list --status approved
298
+ bt epmw requests approve <id> # Approve request
299
+ bt epmw requests deny <id> -r "reason" # Deny request
300
+ ```
301
+
302
+ #### Events & Audits
303
+ ```bash
304
+ bt epmw events list # List recent events
305
+ bt epmw events list --hours 48 # Events from last 48 hours
306
+ bt epmw events search -q "keyword" # Search events
307
+ bt epmw audits list # List audit logs
308
+ ```
309
+
310
+ ---
311
+
312
+ ### Cross-Product Commands (`bt quick`)
313
+
314
+ For environments with both Password Safe and PRA (PASM):
315
+
316
+ ```bash
317
+ # Onboard system to both PWS and PRA
318
+ bt quick pasm-onboard -n "hostname" -i "10.0.1.50" -w <workgroup> -j <jumpoint> -g <jump-group>
319
+
320
+ # Offboard from both
321
+ bt quick pasm-offboard -n "hostname"
322
+
323
+ # Search across both products
324
+ bt quick pasm-search -q "hostname"
325
+ ```
326
+
327
+ ---
328
+
329
+ ## Output Formats
330
+
331
+ All list commands support multiple output formats:
332
+
333
+ ```bash
334
+ bt pws systems list # Default table format
335
+ bt pws systems list -o json # JSON output
336
+ bt pws systems list -o json | jq # Pipe to jq for processing
337
+ ```
338
+
339
+ ### Scripting with Raw Output
340
+
341
+ ```bash
342
+ # Get just the password for scripting
343
+ PASSWORD=$(bt pws quick checkout -s "server" -a "admin" --raw)
344
+
345
+ # Use in SSH
346
+ sshpass -p "$PASSWORD" ssh admin@server
347
+ ```
348
+
349
+ ---
350
+
351
+ ## Concepts
352
+
353
+ ### Password Safe: Functional vs Managed Accounts
354
+
355
+ **Functional accounts** are service accounts used BY Password Safe to connect to and manage systems. They perform password rotation, discovery, and other automated tasks.
356
+
357
+ **Managed accounts** are the accounts ON systems that Password Safe stores and rotates passwords for. These are what users check out.
358
+
359
+ ```bash
360
+ # List functional accounts (for system management)
361
+ bt pws functional list
362
+
363
+ # List managed accounts (for checkout)
364
+ bt pws accounts list
365
+ ```
366
+
367
+ ### PRA: Jump Items and Jumpoints
368
+
369
+ **Jumpoints** are agents installed in your network that facilitate connections. **Jump items** are the actual connection definitions (SSH, RDP, etc.) that use jumpoints.
370
+
371
+ ```bash
372
+ # Find available jumpoints
373
+ bt pra jumpoints list
374
+
375
+ # Create a jump item using a jumpoint
376
+ bt pra jump-items shell create -n "my-server" -h "10.0.1.50" -j <jumpoint-id> -g <group-id>
377
+ ```
378
+
379
+ ---
380
+
381
+ ## Troubleshooting
382
+
383
+ ### Authentication Errors
384
+
385
+ ```bash
386
+ # Test connectivity
387
+ bt pws auth test
388
+
389
+ # Enable debug output to see API calls
390
+ export BT_SHOW_REST=true
391
+ bt pws systems list
392
+ ```
393
+
394
+ ### SSL Certificate Issues
395
+
396
+ For self-signed certificates (not recommended for production):
397
+
398
+ ```bash
399
+ export BT_SSL_INSECURE_ALLOW=true
400
+ ```
401
+
402
+ ### Common Issues
403
+
404
+ | Error | Solution |
405
+ |-------|----------|
406
+ | 401 Unauthorized | Check credentials in environment variables |
407
+ | 403 Forbidden | Verify API user has required permissions |
408
+ | 404 Not Found | Check API URL format and resource IDs |
409
+ | Connection refused | Verify URL and network connectivity |
410
+ | EPMW 405 on delete | Use `archive` instead of `delete` for computers |
411
+
412
+ ---
413
+
414
+ ## License
415
+
416
+ MIT License - This is an unofficial tool not affiliated with or supported by BeyondTrust.
@@ -1,4 +1,4 @@
1
- bt_cli/__init__.py,sha256=C4EHXqTG5_uRHc4hltw_md-Q6MreNcs5ldgmGTqbqhA,60
1
+ bt_cli/__init__.py,sha256=pJeCNQzoRR6Lhn9vKwBRZ6ZjX1qCSPxukRCJWHpjWBA,60
2
2
  bt_cli/cli.py,sha256=u2B59fO-8uH0200TbcaBiy387wuc7j_-1pUgZFXphQA,29554
3
3
  bt_cli/commands/__init__.py,sha256=Wrf3ZV1sf7JCilbv93VqoWWTyj0d-y4saAaVFD5apU8,38
4
4
  bt_cli/commands/configure.py,sha256=f3tn09eRDqlGQIq1gpuxj984S4CARYbmKI4XrqxPAAM,14270
@@ -115,7 +115,7 @@ bt_cli/pws/models/account.py,sha256=OSCMyULPOH1Yu2WOzK0ZQhSRrggGpb2JPHScwGLqUgI,
115
115
  bt_cli/pws/models/asset.py,sha256=Fl0AlR4_9Yyyu36FL1eKF29DNsxsB-r7FaOBRlfOg2Q,4081
116
116
  bt_cli/pws/models/common.py,sha256=D9Ah4ob5CIiFhTt_IR9nF2cBWRHS2z9OyBR2Sss5yzw,3487
117
117
  bt_cli/pws/models/system.py,sha256=D_J0x1A92H2n6BsaBEK9PSAAcs3BTifA5-M9SQqQFGA,5856
118
- bt_cli-0.4.7.dist-info/METADATA,sha256=N6CiZvr8wC78Xt9SjgR8ekFKymBG92LIybVRXzfK2go,4927
119
- bt_cli-0.4.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
120
- bt_cli-0.4.7.dist-info/entry_points.txt,sha256=NCOEqTI-XKpJOux0JKKhbRElz0B7upayh_d99X5hoLs,38
121
- bt_cli-0.4.7.dist-info/RECORD,,
118
+ bt_cli-0.4.8.dist-info/METADATA,sha256=rTOWisaAx8o69C9r4a7k-BY6TYunroKySn_XhKi94CU,11753
119
+ bt_cli-0.4.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
120
+ bt_cli-0.4.8.dist-info/entry_points.txt,sha256=NCOEqTI-XKpJOux0JKKhbRElz0B7upayh_d99X5hoLs,38
121
+ bt_cli-0.4.8.dist-info/RECORD,,
@@ -1,172 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: bt-cli
3
- Version: 0.4.7
4
- Summary: BeyondTrust Platform CLI (unofficial) - Password Safe, Entitle, PRA, EPM
5
- Author-email: Dave Grendysz <dgrendysz@beyondtrust.com>
6
- License: MIT
7
- Keywords: beyondtrust,cli,pam,password-safe,privileged-access,security
8
- Classifier: Development Status :: 4 - Beta
9
- Classifier: Environment :: Console
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Intended Audience :: System Administrators
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Operating System :: OS Independent
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.10
16
- Classifier: Programming Language :: Python :: 3.11
17
- Classifier: Programming Language :: Python :: 3.12
18
- Classifier: Topic :: Security
19
- Classifier: Topic :: System :: Systems Administration
20
- Requires-Python: >=3.10
21
- Requires-Dist: httpx>=0.27.0
22
- Requires-Dist: pydantic>=2.0.0
23
- Requires-Dist: python-dotenv>=1.0.0
24
- Requires-Dist: pyyaml>=6.0.0
25
- Requires-Dist: rich<15.0.0,>=13.7.0
26
- Requires-Dist: shellingham>=1.5.0
27
- Requires-Dist: typer<1.0.0,>=0.12.0
28
- Provides-Extra: all
29
- Requires-Dist: keyring>=24.0.0; extra == 'all'
30
- Provides-Extra: dev
31
- Requires-Dist: pyinstaller>=6.0.0; extra == 'dev'
32
- Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
33
- Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
34
- Requires-Dist: pytest>=8.0.0; extra == 'dev'
35
- Requires-Dist: respx>=0.21.0; extra == 'dev'
36
- Provides-Extra: keyring
37
- Requires-Dist: keyring>=24.0.0; extra == 'keyring'
38
- Provides-Extra: test
39
- Requires-Dist: pytest-asyncio>=0.23.0; extra == 'test'
40
- Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
41
- Requires-Dist: pytest>=8.0.0; extra == 'test'
42
- Requires-Dist: respx>=0.21.0; extra == 'test'
43
- Description-Content-Type: text/markdown
44
-
45
- # BT-CLI
46
-
47
- Unofficial BeyondTrust Platform CLI - manage privileged access across your environment from a single command line.
48
-
49
- ## Supported Products
50
-
51
- | Product | Command | Description |
52
- |---------|---------|-------------|
53
- | **Password Safe** | `bt pws` | Credential vaulting, secrets management, password rotation |
54
- | **Entitle** | `bt entitle` | Just-in-time access requests and approval workflows |
55
- | **PRA** | `bt pra` | Privileged remote access - jump items, sessions, vault |
56
- | **EPM Windows** | `bt epmw` | Endpoint privilege management - computers, policies, admin requests |
57
-
58
- ## What You Can Do
59
-
60
- **Credential Management (Password Safe)**
61
- - Check out/in credentials for managed systems
62
- - Store and retrieve secrets in Secrets Safe
63
- - Manage systems, accounts, and password rotation policies
64
-
65
- **Just-in-Time Access (Entitle)**
66
- - View available access bundles and integrations
67
- - Check user permissions and active grants
68
- - Manage resources across connected applications
69
-
70
- **Remote Access (PRA)**
71
- - List and create jump items (SSH, RDP, tunnels)
72
- - Manage vault accounts and credential checkout
73
- - Organize access with jump groups
74
-
75
- **Endpoint Privilege (EPM Windows)**
76
- - View managed computers and their status
77
- - Assign policies to computer groups
78
- - Approve or deny admin access requests
79
-
80
- ## Installation
81
-
82
- ### From PyPI (Recommended)
83
-
84
- ```bash
85
- pip install bt-cli
86
-
87
- # Verify
88
- bt version
89
- ```
90
-
91
- ### From Source
92
-
93
- ```bash
94
- # Clone and install
95
- git clone <repository-url>
96
- cd bt-cli
97
-
98
- # Create virtual environment
99
- python -m venv .venv
100
- source .venv/bin/activate # Linux/macOS
101
- # or: .venv\Scripts\activate # Windows
102
-
103
- # Install
104
- pip install -e .
105
-
106
- # Verify
107
- bt version
108
- ```
109
-
110
- ## Configuration
111
-
112
- Set environment variables for each product you want to use:
113
-
114
- ```bash
115
- # Password Safe (OAuth)
116
- export BT_PWS_API_URL=https://your-server/BeyondTrust/api/public/v3
117
- export BT_PWS_CLIENT_ID=your-client-id
118
- export BT_PWS_CLIENT_SECRET=your-client-secret
119
-
120
- # Entitle
121
- export BT_ENTITLE_API_URL=https://api.us.entitle.io
122
- export BT_ENTITLE_API_KEY=your-api-key
123
-
124
- # PRA
125
- export BT_PRA_API_URL=https://your-site.beyondtrustcloud.com
126
- export BT_PRA_CLIENT_ID=your-client-id
127
- export BT_PRA_CLIENT_SECRET=your-client-secret
128
-
129
- # EPM Windows
130
- export BT_EPM_API_URL=https://your-site-services.epm.bt3ng.com
131
- export BT_EPM_CLIENT_ID=your-client-id
132
- export BT_EPM_CLIENT_SECRET=your-client-secret
133
- ```
134
-
135
- On Windows PowerShell:
136
- ```powershell
137
- $env:BT_PWS_API_URL = "https://your-server/BeyondTrust/api/public/v3"
138
- $env:BT_PWS_CLIENT_ID = "your-client-id"
139
- $env:BT_PWS_CLIENT_SECRET = "your-client-secret"
140
- # ... etc
141
- ```
142
-
143
- Or use a `.env` file and source it before running commands.
144
-
145
- ## Quick Start
146
-
147
- ```bash
148
- # Test all connections
149
- bt pws auth test
150
- bt entitle auth test
151
- bt pra auth test
152
- bt epmw auth test
153
-
154
- # Explore resources
155
- bt pws systems list
156
- bt entitle integrations list
157
- bt pra jump-groups list
158
- bt epmw computers list
159
- ```
160
-
161
- ## Output Formats
162
-
163
- All commands support table (default) or JSON output:
164
-
165
- ```bash
166
- bt pws systems list # Human-readable table
167
- bt pws systems list -o json # JSON for scripting
168
- ```
169
-
170
- ## Documentation
171
-
172
- See [CLAUDE.md](CLAUDE.md) for complete command reference, environment details, and cross-product workflows.
File without changes