Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyRoleId = "role_id" KeySecretId = "secret_id" KeySecretIdFile = "secret_id_file" )
Variables ¶
This section is empty.
Functions ¶
func FetchCertChain ¶ added in v1.1.0
Types ¶
type AppRoleAuth ¶
type AppRoleAuth struct {
// contains filtered or unexported fields
}
func NewAppRoleAuth ¶
func (*AppRoleAuth) Authenticate ¶
func (t *AppRoleAuth) Authenticate() (string, error)
func (*AppRoleAuth) Cleanup ¶
func (t *AppRoleAuth) Cleanup() error
type AuthMethod ¶
type TokenAuth ¶
type TokenAuth struct {
// contains filtered or unexported fields
}
func NewTokenAuth ¶
func (*TokenAuth) Authenticate ¶
type VaultClient ¶
type VaultClient struct {
// contains filtered or unexported fields
}
func NewVaultPki ¶ added in v1.2.0
func NewVaultPki(client *api.Client, auth AuthMethod, config conf.Config) (*VaultClient, error)
func (*VaultClient) Cleanup ¶
func (c *VaultClient) Cleanup() error
func (*VaultClient) Issue ¶
func (c *VaultClient) Issue(opts conf.IssueArguments) (*pki.CertData, error)
func (*VaultClient) Revoke ¶
func (c *VaultClient) Revoke(serial string) error
func (*VaultClient) Sign ¶ added in v1.4.0
func (c *VaultClient) Sign(csr string, opts conf.SignArguments) (*pki.Signature, error)
func (*VaultClient) Tidy ¶
func (c *VaultClient) Tidy() error
Click to show internal directories.
Click to hide internal directories.