Skip to content

Commit a45bcc7

Browse files
committed
add more third party
1 parent 1dc93e7 commit a45bcc7

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

docs/guide/third-party-plugins.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,65 @@ export SFCC_INTELLIJ_CREDENTIALS_KEY="your-24-byte-key"
7070
b2c code deploy
7171
```
7272

73+
### Password Store Plugin
74+
75+
**Repository:** [sfcc-solutions-share/b2c-plugin-password-store](https://github.com/sfcc-solutions-share/b2c-plugin-password-store)
76+
77+
Loads B2C credentials from [pass](https://www.passwordstore.org/) (the standard Unix password manager). This allows secure GPG-encrypted storage of credentials that works across Linux, macOS, and WSL.
78+
79+
#### Installation
80+
81+
```bash
82+
b2c plugins install sfcc-solutions-share/b2c-plugin-password-store
83+
```
84+
85+
#### Features
86+
87+
- Uses GPG encryption via the standard `pass` tool
88+
- Supports global defaults via `b2c-cli/_default` (shared OAuth credentials)
89+
- Supports instance-specific credentials at `b2c-cli/<instance>`
90+
- Merges with other config sources (dw.json, environment variables)
91+
- Multi-line format with password on first line, followed by key-value pairs
92+
93+
#### Storing Credentials
94+
95+
```bash
96+
# Store global OAuth credentials (shared across all instances)
97+
pass insert -m b2c-cli/_default
98+
# Enter:
99+
# (blank first line or placeholder)
100+
# client-id: your-client-id
101+
# client-secret: your-client-secret
102+
103+
# Store instance-specific credentials
104+
pass insert -m b2c-cli/staging
105+
# Enter:
106+
# your-webdav-password
107+
# username: user@example.com
108+
# hostname: staging.salesforce.com
109+
# code-version: version1
110+
```
111+
112+
#### Environment Variables
113+
114+
| Variable | Description | Default |
115+
|----------|-------------|---------|
116+
| `SFCC_PASS_PREFIX` | Path prefix in pass store | `b2c-cli` |
117+
| `SFCC_PASS_INSTANCE` | Fallback instance name | (none) |
118+
119+
#### Usage
120+
121+
```bash
122+
# Use with explicit instance
123+
b2c code deploy --instance staging
124+
125+
# View stored credentials
126+
pass show b2c-cli/staging
127+
128+
# Edit credentials
129+
pass edit b2c-cli/staging
130+
```
131+
73132
### macOS Keychain Plugin
74133

75134
**Repository:** [sfcc-solutions-share/b2c-plugin-macos-keychain](https://github.com/sfcc-solutions-share/b2c-plugin-macos-keychain)

0 commit comments

Comments
 (0)