Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + func BuiltIn() catalog.BuiltIn + type AppRoleAuthConfig struct + AppRoleMountPoint string + RoleID string + SecretID string + type AuthMethod int + const APPROLE + const CERT + const K8S + const TOKEN + type CertAuthConfig struct + CertAuthMountPoint string + CertAuthRoleName string + ClientCertPath string + ClientKeyPath string + type Client struct + func (c *Client) Auth(path string, body map[string]interface{}) (*vapi.Secret, error) + func (c *Client) LookupSelf(token string) (*vapi.Secret, error) + func (c *Client) SetToken(v string) + func (c *Client) SignIntermediate(ttl string, csr *x509.CertificateRequest) (*SignCSRResponse, error) + type ClientConfig struct + Logger hclog.Logger + func NewClientConfig(cp *ClientParams, logger hclog.Logger) (*ClientConfig, error) + func (c *ClientConfig) NewAuthenticatedClient(method AuthMethod, renewCh chan struct{}) (client *Client, err error) + type ClientParams struct + AppRoleAuthMountPoint string + AppRoleID string + AppRoleSecretID string + CACertPath string + CertAuthMountPoint string + CertAuthRoleName string + ClientCertPath string + ClientKeyPath string + K8sAuthMountPoint string + K8sAuthRoleName string + K8sAuthTokenPath string + MaxRetries *int + Namespace string + PKIMountPoint string + TLSSKipVerify bool + Token string + VaultAddr string + type Configuration struct + AppRoleAuth *AppRoleAuthConfig + CACertPath string + CertAuth *CertAuthConfig + InsecureSkipVerify bool + K8sAuth *K8sAuthConfig + Namespace string + PKIMountPoint string + TokenAuth *TokenAuthConfig + VaultAddr string + type K8sAuthConfig struct + K8sAuthMountPoint string + K8sAuthRoleName string + TokenPath string + type Plugin struct + func New() *Plugin + func (*Plugin) PublishJWTKeyAndSubscribe(*upstreamauthorityv1.PublishJWTKeyRequest, ...) error + func (p *Plugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error) + func (p *Plugin) MintX509CAAndSubscribe(req *upstreamauthorityv1.MintX509CARequest, ...) error + func (p *Plugin) SetLogger(log hclog.Logger) + type Renew struct + func NewRenew(client *vapi.Client, secret *vapi.Secret, logger hclog.Logger) (*Renew, error) + func (r *Renew) Run() + type SignCSRResponse struct + CACertPEM string + UpstreamCACertChainPEM []string + UpstreamCACertPEM string + type TokenAuthConfig struct + Token string