Secrets: Add fallback to secrets kvstore plugin (#54056)
* Add fallback to secrets kvstore plugin * Fix linter issues * Fix linter issues * Add deletion error to bool to fake secrets kvstore * Add fallback to fake secrets kvstore * Fix fake secrets kvstore fallback setter * Use Key on Item message for secrets manager protobuf * Add clarifying comment about fallback
This commit is contained in:
committed by
GitHub
parent
ebcdf402b2
commit
d90600c454
@@ -52,5 +52,10 @@ func (sm *SecretsManagerGRPCClient) RenameSecret(ctx context.Context, req *Renam
|
||||
return sm.SecretsManagerClient.RenameSecret(ctx, req)
|
||||
}
|
||||
|
||||
// Get all items from the store
|
||||
func (sm *SecretsManagerGRPCClient) GetAllSecrets(ctx context.Context, req *GetAllSecretsRequest, opts ...grpc.CallOption) (*GetAllSecretsResponse, error) {
|
||||
return sm.SecretsManagerClient.GetAllSecrets(ctx, req)
|
||||
}
|
||||
|
||||
var _ SecretsManagerClient = &SecretsManagerGRPCClient{}
|
||||
var _ plugin.GRPCPlugin = &SecretsManagerGRPCPlugin{}
|
||||
|
||||
Reference in New Issue
Block a user