Documentation ¶
Index ¶
- func BuiltIn() catalog.BuiltIn
- type Configuration
- type SecretsManagerClient
- type SecretsManagerPlugin
- func (p *SecretsManagerPlugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *SecretsManagerPlugin) DeleteX509SVID(ctx context.Context, req *svidstorev1.DeleteX509SVIDRequest) (*svidstorev1.DeleteX509SVIDResponse, error)
- func (p *SecretsManagerPlugin) PutX509SVID(ctx context.Context, req *svidstorev1.PutX509SVIDRequest) (*svidstorev1.PutX509SVIDResponse, error)
- func (p *SecretsManagerPlugin) SetLogger(log hclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type SecretsManagerClient ¶
type SecretsManagerClient interface { DescribeSecret(context.Context, *secretsmanager.DescribeSecretInput, ...func(*secretsmanager.Options)) (*secretsmanager.DescribeSecretOutput, error) CreateSecret(context.Context, *secretsmanager.CreateSecretInput, ...func(*secretsmanager.Options)) (*secretsmanager.CreateSecretOutput, error) PutSecretValue(context.Context, *secretsmanager.PutSecretValueInput, ...func(*secretsmanager.Options)) (*secretsmanager.PutSecretValueOutput, error) DeleteSecret(context.Context, *secretsmanager.DeleteSecretInput, ...func(*secretsmanager.Options)) (*secretsmanager.DeleteSecretOutput, error) RestoreSecret(context.Context, *secretsmanager.RestoreSecretInput, ...func(*secretsmanager.Options)) (*secretsmanager.RestoreSecretOutput, error) }
type SecretsManagerPlugin ¶
type SecretsManagerPlugin struct { svidstorev1.UnsafeSVIDStoreServer configv1.UnsafeConfigServer // contains filtered or unexported fields }
func New ¶
func New() *SecretsManagerPlugin
func (*SecretsManagerPlugin) Configure ¶
func (p *SecretsManagerPlugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
Configure configures the SecretsManagerPlugin.
func (*SecretsManagerPlugin) DeleteX509SVID ¶
func (p *SecretsManagerPlugin) DeleteX509SVID(ctx context.Context, req *svidstorev1.DeleteX509SVIDRequest) (*svidstorev1.DeleteX509SVIDResponse, error)
DeleteX509SVID schedules a deletion to a Secret using AWS secret manager
func (*SecretsManagerPlugin) PutX509SVID ¶
func (p *SecretsManagerPlugin) PutX509SVID(ctx context.Context, req *svidstorev1.PutX509SVIDRequest) (*svidstorev1.PutX509SVIDResponse, error)
PutX509SVID puts the specified X509-SVID in the configured AWS Secrets Manager
func (*SecretsManagerPlugin) SetLogger ¶
func (p *SecretsManagerPlugin) SetLogger(log hclog.Logger)
Click to show internal directories.
Click to hide internal directories.