@theholocron/holocron-plugin-infisical 2.0.0-alpha.35 → 2.0.0-alpha.37

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 +23 -13
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -31,8 +31,10 @@ Switch by editing `holocron.config.json`.
31
31
 
32
32
  ## Install
33
33
 
34
+ <!-- prettier-ignore -->
34
35
  ```bash
35
36
  pnpm add -D @theholocron/holocron-plugin-infisical@alpha
37
+
36
38
  ```
37
39
 
38
40
  ## Auth
@@ -65,12 +67,14 @@ Universal Auth is a two-step flow (client id + client secret → login
65
67
  endpoint → short-lived access token). Support for that exchange is
66
68
  tracked as a follow-up; for now, use one of the two above.
67
69
 
70
+ <!-- prettier-ignore -->
68
71
  ```bash
69
72
  # 1. Generate the token per the note above.
70
73
  # 2. Hand it off to holocron's keyring (one-shot):
71
74
  holocron auth set infisical <TOKEN>
72
75
  # 3. Verify (calls GET /v1/workspace and reports accessible workspaces):
73
76
  holocron auth check infisical
77
+
74
78
  ```
75
79
 
76
80
  **If you have a machine identity that's Universal-Auth-only**: add a
@@ -85,12 +89,14 @@ precedence still work; step 4 quietly falls through.
85
89
 
86
90
  ## Config
87
91
 
92
+ <!-- prettier-ignore -->
88
93
  ```jsonc
89
94
  {
90
- "providers": {
91
- "vault": ["infisical", { "workspace": "<workspace-id>", "environment": "dev" }],
92
- },
95
+ "providers": {
96
+ "vault": ["infisical", { "workspace": "<workspace-id>", "environment": "dev" }],
97
+ },
93
98
  }
99
+
94
100
  ```
95
101
 
96
102
  - `workspace` (required) — Infisical workspace (project) id. Find via
@@ -101,8 +107,10 @@ precedence still work; step 4 quietly falls through.
101
107
 
102
108
  Individual `read` / `write` calls take a fully-qualified reference:
103
109
 
110
+ <!-- prettier-ignore -->
104
111
  ```
105
112
  infisical://<workspaceId>/<environment>/<name>
113
+
106
114
  ```
107
115
 
108
116
  The default `workspace` + `environment` in options apply to `list()`,
@@ -133,19 +141,21 @@ convention):
133
141
 
134
142
  Set the `baseUrl` option in `holocron.config.json`:
135
143
 
144
+ <!-- prettier-ignore -->
136
145
  ```jsonc
137
146
  {
138
- "providers": {
139
- "vault": [
140
- "infisical",
141
- {
142
- "workspace": "<id>",
143
- "environment": "dev",
144
- "baseUrl": "https://infisical.internal.example.com/api",
145
- },
146
- ],
147
- },
147
+ "providers": {
148
+ "vault": [
149
+ "infisical",
150
+ {
151
+ "workspace": "<id>",
152
+ "environment": "dev",
153
+ "baseUrl": "https://infisical.internal.example.com/api",
154
+ },
155
+ ],
156
+ },
148
157
  }
158
+
149
159
  ```
150
160
 
151
161
  ## Status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-infisical",
3
- "version": "2.0.0-alpha.35",
3
+ "version": "2.0.0-alpha.37",
4
4
  "description": "Holocron plugin for Infisical. Implements the vault capability against Infisical's REST API, plus exports verifyToken + AUTH_HINT for `holocron auth`.",
5
5
  "homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-infisical#readme",
6
6
  "bugs": "https://github.com/theholocron/holocron/issues",
@@ -21,7 +21,7 @@
21
21
  }
22
22
  },
23
23
  "peerDependencies": {
24
- "@theholocron/cli": "2.0.0-alpha.35"
24
+ "@theholocron/cli": "2.0.0-alpha.37"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26",
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.22.4",
38
38
  "typescript": "^5.9.3",
39
39
  "vitest": "^4.1.10",
40
- "@theholocron/cli": "2.0.0-alpha.35"
40
+ "@theholocron/cli": "2.0.0-alpha.37"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"