文件名称:vault:PHP HashiCorp Vault客户端
文件大小:36KB
文件格式:ZIP
更新时间:2024-04-23 23:50:37
vault cubequence PHP
金库 PHP8 HashiCorp Vault客户端 安装 composer require cubequence/vault 示范代码 <?php require './vendor/autoload.php' ; // https://www.vaultproject.io/api-docs/auth // https://www.vaultproject.io/api-docs/secret use Vault \ Auth \ Provider \ Token ; use Vault \ Client ; try { $ client = new Client ( authProvider: new Token (token: 's.XXXXXXXXXXXX' ), // Other authProviders are available b
【文件预览】:
vault-main
----.github()
--------SECURITY.md(3KB)
----src()
--------Vault()
----LICENSE(1KB)
----composer.lock(237KB)
----phpunit.xml(619B)
----README.md(2KB)
----.editorconfig(220B)
----tests()
--------Pest.php(1KB)
--------ExampleTest.php(924B)
----.gitignore(48B)
----.phpunit.result.cache(489B)
----composer.json(882B)