vgscli 0.0.1 → 0.0.2
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.
- package/README.md +15 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,14 +10,27 @@ npm install -g vgscli
|
|
|
10
10
|
|
|
11
11
|
## Environment Setup
|
|
12
12
|
|
|
13
|
+
### Getting VGS Credentials
|
|
14
|
+
|
|
15
|
+
You need to obtain your VGS credentials from the VGS Dashboard:
|
|
16
|
+
|
|
17
|
+
1. Log in to your [VGS Dashboard](https://dashboard.verygoodsecurity.com/)
|
|
18
|
+
2. Navigate to **Access Credential Management** in your vault
|
|
19
|
+
3. Generate or copy your **Data Plane credentials** (username/password)
|
|
20
|
+
4. Optionally, note your **VGS Host** URL (defaults to sandbox)
|
|
21
|
+
|
|
22
|
+
For more details, see the [VGS Data Plane Credential Management documentation](https://docs.verygoodsecurity.com/vault/platform/iam#data-plane-credential-management).
|
|
23
|
+
|
|
24
|
+
### Setting Environment Variables
|
|
25
|
+
|
|
13
26
|
Create a `.env` file or set environment variables:
|
|
14
27
|
|
|
15
28
|
```bash
|
|
16
|
-
# Required
|
|
29
|
+
# Required - Get these from VGS Dashboard > Access Credential Management
|
|
17
30
|
export VGS_USERNAME=your_vgs_username
|
|
18
31
|
export VGS_PASSWORD=your_vgs_password
|
|
19
32
|
|
|
20
|
-
# Optional
|
|
33
|
+
# Optional - Your VGS vault host URL
|
|
21
34
|
export VGS_HOST=https://api.sandbox.verygoodsecurity.com
|
|
22
35
|
```
|
|
23
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vgscli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "A command-line tool for managing VGS aliases for tokenization",
|
|
5
5
|
"author": "",
|
|
6
6
|
"private": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "
|
|
25
|
+
"url": "https://github.com/ricardocermeno/vgscli.git"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "nest build",
|