flurry-cli 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. package/README.md +11 -34
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,4 @@
1
- # Flurry
2
-
3
- ![Flurry logo!](images/flurrylogo_small.jpg "Flurry logo")
1
+ <img src="https://flurrytest.com/flurrylogo.jpg" alt="Flurry logo" width="150"/><br/>
4
2
 
5
3
  A command-line interface for running Flurry API testing collections.
6
4
 
@@ -21,38 +19,24 @@ A command-line interface for running Flurry API testing collections.
21
19
 
22
20
  ### Run entire collection
23
21
  ```bash
24
- npx flurry-cli --collection-id=abc123 --api-key=your-api-key
25
- ```
26
-
27
- ### Run entire collection (with explicit environment)
28
- ```bash
29
- npx flurry-cli --collection-id=abc123 --api-key=your-api-key --environment=development
30
- ```
31
-
32
- ### Run specific flow with verbose output
33
- ```bash
34
- npx flurry-cli --collection-id=abc123 --api-key=your-api-key --environment=staging --run-flow-id=flow456 --verbose=true
22
+ npx flurry-cli@latest --collection-id=<COLLECTION_ID> --api-key=your-api-key --environment=staging
35
23
  ```
36
24
 
37
- ### Run collection without fail-fast (continue on assertion failures)
25
+ ### Run specific flow
38
26
  ```bash
39
- npx flurry-cli --collection-id=abc123 --api-key=your-api-key --environment=development --fail-fast=false
27
+ npx flurry-cli@latest --collection-id=<COLLECTION_ID> --api-key=your-api-key --environment=staging --run-flow-id=flow456
40
28
  ```
41
29
 
42
30
  ## AWS Credentials
43
31
 
44
- Flurry uses the AWS SDK for JavaScript (v3) to talk to AWS. The AWS SDK resolves credentials differently than the AWS CLI.
45
-
46
- In particular, some AWS CLI authentication flows cache credentials in a way the JS SDK cannot read directly (your case showed `access_key` type `login` via `aws configure list`). When that happens, Flurry falls back to asking the AWS CLI to export concrete credentials.
47
-
48
- ### Resolution Order
32
+ Flurry uses the AWS SDK for JavaScript (v3) to talk to AWS.
49
33
 
50
- Flurry resolves credentials in this order:
34
+ Flurry resolves AWS credentials in this order:
51
35
 
52
- 1. **Environment credentials** (best for CI): `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, optional `AWS_SESSION_TOKEN`
36
+ 1. **Environment credentials**: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, optional `AWS_SESSION_TOKEN`
53
37
  2. **Shared config/credentials files**: `~/.aws/credentials` and `~/.aws/config` using `AWS_PROFILE` / `AWS_DEFAULT_PROFILE`
54
38
  3. **AWS CLI fallback** (for AWS CLI “login” caches): runs `aws configure export-credentials --profile <profile> --format process` (only if `FLURRY_ENABLE_AWS_CLI_CREDENTIALS=true`)
55
- 4. **Default AWS SDK provider chain** as a final fallback
39
+ 4. **Default AWS SDK provider chain** as a final fallback.
56
40
 
57
41
  ### GitHub Actions / CI
58
42
 
@@ -61,7 +45,8 @@ In GitHub Actions you typically should **not** rely on AWS profiles. Prefer one
61
45
  - **OIDC / Web Identity** (recommended): use `aws-actions/configure-aws-credentials` to set `AWS_ROLE_ARN` + `AWS_WEB_IDENTITY_TOKEN_FILE` (and region). The AWS SDK picks these up without needing profiles.
62
46
  - **Static secrets**: set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and optionally `AWS_SESSION_TOKEN`.
63
47
 
64
- If you do choose to use profiles in CI, ensure the runner has access to the appropriate `~/.aws/config` and `~/.aws/credentials` (or set `AWS_SHARED_CREDENTIALS_FILE` / `AWS_CONFIG_FILE`).
48
+ If you want to use AWS credentials obtained through logging in with the AWS CLI, ensure the runner has access to the appropriate `~/.aws/config`, set
49
+ `FLURRY_ENABLE_AWS_CLI_CREDENTIALS` to 1, and `AWS_PROFILE` to the profile used when loggin in.
65
50
 
66
51
  ## Environment Variables
67
52
 
@@ -102,12 +87,4 @@ Region:
102
87
 
103
88
  - `AWS_REGION` / `AWS_DEFAULT_REGION`
104
89
  - Used by the AWS SDK clients (SQS/Kinesis) and for some auth flows.
105
- - If not set, Flurry falls back to `us-east-1`.
106
-
107
- Web identity (OIDC) / role assumption (common in CI):
108
-
109
- - `AWS_ROLE_ARN`, `AWS_WEB_IDENTITY_TOKEN_FILE`
110
- - Used for GitHub Actions OIDC / IRSA-style auth.
111
-
112
- - `AWS_ROLE_SESSION_NAME`
113
- - Optional session name for assumed roles.
90
+ - If not set, Flurry falls back to `us-east-1`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flurry-cli",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Flurry CLI",
5
5
  "module": "src/cli.ts",
6
6
  "type": "module",