Documentation ¶
Index ¶
- func BuiltIn() catalog.Plugin
- type Config
- type Plugin
- func (m *Plugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
- func (*Plugin) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
- func (m *Plugin) MintX509CA(request *upstreamauthority.MintX509CARequest, ...) error
- func (m *Plugin) PublishJWTKey(*upstreamauthority.PublishJWTKeyRequest, ...) error
- func (m *Plugin) SetLogger(log hclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Region string `hcl:"region" json:"region"` CertFileARN string `hcl:"cert_file_arn" json:"cert_file_arn"` KeyFileARN string `hcl:"key_file_arn" json:"key_file_arn"` AccessKeyID string `hcl:"access_key_id" json:"access_key_id"` SecretAccessKey string `hcl:"secret_access_key" json:"secret_access_key"` SecurityToken string `hcl:"secret_token" json:"secret_token"` AssumeRoleARN string `hcl:"assume_role_arn" json:"assume_role_arn"` }
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Configure ¶
func (m *Plugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
func (*Plugin) GetPluginInfo ¶
func (*Plugin) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
func (*Plugin) MintX509CA ¶
func (m *Plugin) MintX509CA(request *upstreamauthority.MintX509CARequest, stream upstreamauthority.UpstreamAuthority_MintX509CAServer) error
MintX509CA mints an X509CA by signing presented CSR with root CA fetched from AWS Secrets Manager
func (*Plugin) PublishJWTKey ¶
func (m *Plugin) PublishJWTKey(*upstreamauthority.PublishJWTKeyRequest, upstreamauthority.UpstreamAuthority_PublishJWTKeyServer) error
PublishJWTKey is not implemented by the wrapper and returns a codes.Unimplemented status
Click to show internal directories.
Click to hide internal directories.