Skip to content

Commit 151d641

Browse files
authored
Merge pull request #3 from LibreCodeCoop/fix/composer-setup
docs: align README env examples with VAULT naming
2 parents bccddd8 + bbffb55 commit 151d641

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ use LibreCodeCoop\NfsePHP\Http\NfseClient;
5555
use LibreCodeCoop\NfsePHP\SecretStore\OpenBaoSecretStore;
5656
use LibreCodeCoop\NfsePHP\Dto\DpsData;
5757

58-
$store = new OpenBaoSecretStore(addr: 'http://localhost:8200', token: getenv('BAO_TOKEN'));
58+
$store = new OpenBaoSecretStore(addr: 'http://localhost:8200', token: getenv('VAULT_TOKEN'));
5959
$client = new NfseClient(secretStore: $store, sandboxMode: true);
6060

6161
$dps = new DpsData(
@@ -80,9 +80,9 @@ The CNPJ values below are **fictitious examples**. Configure your own values thr
8080
use LibreCodeCoop\NfsePHP\SecretStore\OpenBaoSecretStore;
8181

8282
$store = new OpenBaoSecretStore(
83-
addr: getenv('BAO_ADDR'), // e.g. http://openbao:8200
84-
roleId: getenv('BAO_ROLE_ID'),
85-
secretId: getenv('BAO_SECRET_ID'),
83+
addr: getenv('VAULT_ADDR'), // e.g. http://openbao:8200
84+
roleId: getenv('VAULT_ROLE_ID'),
85+
secretId: getenv('VAULT_SECRET_ID'),
8686
mount: 'nfse', // KV v2 mount
8787
);
8888

0 commit comments

Comments
 (0)