jippi / vault-php-sdk

Vault PHP SDK, inspired by sensio consul sdk
MIT License
54 stars 35 forks source link

making base_uri configurable #12

Closed benschw closed 7 years ago

benschw commented 7 years ago

Adding in configuration options to allow for using with a remotely located instance of vault. By default, the client will continue using localhost:8200, but you can override with the normal "base_uri" options value or by supplying the env variable VAULT_ADDR (which seems to be the preferred method of configuring the vault host in other clients.)

jippi commented 7 years ago

Thanks!