keypin 0.30.0 → 0.31.1

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 (3) hide show
  1. package/README.md +21 -13
  2. package/bin/keypin +2 -1
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -22,17 +22,23 @@ paste in a chat, or leave on a laptop.
22
22
  Each project lists its keys in a `keypin.toml`: names, vault items and destinations, never values. keypin runs your
23
23
  commands with the dev keys and publishes the prod keys. It reads a value only while a command runs.
24
24
 
25
- | Vaults | Destinations | Rotation |
26
- | --------- | ------------------ | --------------------- |
27
- | 1Password | GitHub Actions | Resend |
28
- | Infisical | Cloudflare Workers | Neon |
29
- | Bitwarden | Vercel projects | OpenAI |
30
- | Doppler | Supabase Functions | Supabase |
31
- | | Netlify projects | Cloudflare API tokens |
32
- | | Railway services | OpenRouter |
33
- | | Convex deployments | Google Cloud API keys |
34
- | | Fly.io apps | ElevenLabs |
35
- | | | AWS IAM access keys |
25
+ | Vaults | Destinations | Rotation |
26
+ | ------------------- | ------------------ | --------------------------------- |
27
+ | 1Password | GitHub Actions | Resend |
28
+ | Infisical | Cloudflare Workers | Neon |
29
+ | Bitwarden | Vercel projects | OpenAI |
30
+ | Doppler | Supabase Functions | Supabase |
31
+ | AWS Secrets Manager | Netlify projects | Cloudflare API tokens |
32
+ | | Railway services | OpenRouter |
33
+ | | Convex deployments | Google Cloud API keys |
34
+ | | Fly.io apps | ElevenLabs |
35
+ | | GitLab CI/CD | AWS IAM access keys |
36
+ | | | SendGrid |
37
+ | | | Twilio API keys |
38
+ | | | xAI |
39
+ | | | Google Cloud service account keys |
40
+ | | | MongoDB Atlas |
41
+ | | | Secrets you generate |
36
42
 
37
43
  Want another? Vote for it on the [roadmap](https://github.com/caiopizzol/keypin/issues/138).
38
44
 
@@ -128,8 +134,10 @@ npx skills add caiopizzol/keypin -g # all your projects
128
134
  `keypin.toml`
129
135
  - [Import](https://github.com/caiopizzol/keypin/blob/main/docs/import.md): moving an env file's values into 1Password
130
136
  - [Infisical](https://github.com/caiopizzol/keypin/blob/main/docs/infisical.md),
131
- [Bitwarden](https://github.com/caiopizzol/keypin/blob/main/docs/bitwarden.md) and
132
- [Doppler](https://github.com/caiopizzol/keypin/blob/main/docs/doppler.md): reading keys from them instead
137
+ [Bitwarden](https://github.com/caiopizzol/keypin/blob/main/docs/bitwarden.md),
138
+ [Doppler](https://github.com/caiopizzol/keypin/blob/main/docs/doppler.md) and
139
+ [AWS Secrets Manager](https://github.com/caiopizzol/keypin/blob/main/docs/aws-secrets-manager.md): reading keys
140
+ from them instead
133
141
  - [Service account](https://github.com/caiopizzol/keypin/blob/main/docs/service-account.md): 1Password on a server or
134
142
  in CI
135
143
  - [Publishing](https://github.com/caiopizzol/keypin/blob/main/docs/publishing.md): destinations, approvals and
package/bin/keypin CHANGED
@@ -63,7 +63,8 @@ find_binary() {
63
63
  done
64
64
  done
65
65
 
66
- echo "keypin: the package @keypin/cli-$os-$arch isn't installed next to $keypin, so there's no keypin binary to run. npm installs it with keypin as an optional dependency: reinstall keypin without --omit=optional or --no-optional." >&2
66
+ version=$(command sed -n 's/^ *"version": *"\([^"]*\)".*/\1/p' "$keypin/package.json" 2>/dev/null) || version=
67
+ echo "keypin: the package @keypin/cli-$os-$arch isn't installed next to $keypin, so there's no keypin binary to run. npm installs it with keypin as an optional dependency, but skips it with --omit=optional or --no-optional, or when npm's cache is older than this keypin. Reinstall with: npm install -g keypin${version:+@$version} --prefer-online --no-prefer-offline" >&2
67
68
  return 1
68
69
  }
69
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keypin",
3
- "version": "0.30.0",
3
+ "version": "0.31.1",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/caiopizzol/keypin#readme",
6
6
  "bugs": {
@@ -26,9 +26,9 @@
26
26
  "x64"
27
27
  ],
28
28
  "optionalDependencies": {
29
- "@keypin/cli-darwin-arm64": "0.30.0",
30
- "@keypin/cli-darwin-x64": "0.30.0",
31
- "@keypin/cli-linux-x64": "0.30.0",
32
- "@keypin/cli-linux-arm64": "0.30.0"
29
+ "@keypin/cli-darwin-arm64": "0.31.1",
30
+ "@keypin/cli-darwin-x64": "0.31.1",
31
+ "@keypin/cli-linux-x64": "0.31.1",
32
+ "@keypin/cli-linux-arm64": "0.31.1"
33
33
  }
34
34
  }