Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit 7acca9b

Browse files
authored
Update README.md
1 parent c0f55ca commit 7acca9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ There are a couple of benefits of using encrypted credentials instead of environ
1515
* You can deploy credentials together with your code.
1616
* All secrets are in one location. Instead of managing multiple environment variables, everything is in one file.
1717

18-
Here's how you can access your stored credentials:
18+
Here's how you can access your stored credentials. In this example we're retrieving the decrypted credential for the key `api-password`:
1919

2020
```php
21-
$secret = credentials('my-secret-credentials');
21+
$credential = credentials('api-password');
2222
```
2323

2424
With the built-in edit command, you can easily edit your existing credentials. They will be automatically encrypted after saving your changes.

0 commit comments

Comments
 (0)