File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ use LibreCodeCoop\NfsePHP\Http\NfseClient;
5555use LibreCodeCoop\NfsePHP\SecretStore\OpenBaoSecretStore;
5656use 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
8080use 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
You can’t perform that action at this time.
0 commit comments