forest:Golang的保管库

时间:2021-03-15 15:34:19
【文件属性】:
文件名称:forest:Golang的保管库
文件大小:30KB
文件格式:ZIP
更新时间:2021-03-15 15:34:19
Go 森林 什么? 简化的保管库请求。 泰勒接受了Bareksa的范式。 它有什么作用? 从保管库获取密钥值存储。 从保管库创建令牌 处理政策制定 为什么? 您(用户)不需要研究如何使用Vault,并且示例直接在代码描述中给出。 package main import ( "context" "fmt" "gitlab.bareksa.com/backend/forest" ) func main () { client := forest . NewClient ( "s.token" ) // This token is an example conf , err := forest . GetKeyValue ( context . Background (), "some-conf" ) if err != nil { panic ( err ) } fmt
【文件预览】:
forest-master
----token_lookup.go(3KB)
----go.mod(308B)
----forest_test.go(361B)
----package.md(18KB)
----api.md(3KB)
----go.sum(2KB)
----key_value.go(3KB)
----stream_test.go(857B)
----errors.go(538B)
----key_value_test.go(1KB)
----token_revoke.go(718B)
----policies.go(3KB)
----LICENSE(10KB)
----transit_encrypt_test.go(701B)
----README.md(2KB)
----opts.go(2KB)
----policies_test.go(856B)
----transit_decrypt.go(3KB)
----token_create_test.go(2KB)
----global_vault.go(6KB)
----token_renew.go(2KB)
----token_lookup_test.go(611B)
----forest.go(2KB)
----stream.go(957B)
----token_create.go(8KB)
----transit_decrypt_test.go(687B)
----.gitignore(6B)
----transit_encrypt.go(4KB)
----token_renew_test.go(343B)

网友评论