You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,46 +17,50 @@
17
17
18
18
The package provides a secure, organized way to manage application secrets without storing them in version control or sharing them insecurely.
19
19
20
-
## Installation
20
+
## Quick Start
21
21
22
-
You can install the package via composer:
22
+
### Install and configure Keep
23
+
24
+
Install the package via composer:
23
25
24
26
```bash
25
27
composer require stechstudio/laravel-keep
26
28
```
27
29
28
-
## Quick Example
30
+
This will install a command in your `vendor/bin` directory called `keep`. Run `keep configure` to configure Keep and your first vault.
29
31
30
-
Let's say you have three environments (local, staging, production) and you want to store secrets in AWS SSM Parameter Store with the default KMS encryption key, in the `us-east-1` region. (You can also use AWS Secrets Manager - see configuration docs for details.)
32
+
```bash
33
+
./vendor/bin/keep configure
34
+
```
31
35
32
-
### Setup
36
+
You should now have Keep configured with a default vault. Run `keep verify` to check your setup and ensure you have necessary permissions.
33
37
34
-
1. Install the package via composer (as shown above).
35
-
2. Ensure you have AWS credentials configured in your environment, with permissions to access SSM Parameter Store (see docs for full example).
36
-
3. Run `php artisan keep:verify` to check your setup, verify your vault configuration, and ensure you have necessary permissions.
38
+
```bash
39
+
./vendor/bin/keep verify
40
+
```
37
41
38
42
### Manage secrets
39
43
40
-
You can add secrets using the artisan command:
44
+
You can add secrets using `keep set`:
41
45
42
46
```bash
43
47
# You will be prompted for the stage and secret value
0 commit comments