You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: secret_manager.go
    path of file: ./repos/werf/pkg/deploy/secrets_manager
    
    the code of the file until where you have to start completion: package secrets_manager

import (
	"context"
	"fmt"

	"github.com/werf/logboek"
	"github.com/werf/werf/pkg/secret"
)

type Secr
    
func (manager *SecretsManager) AllowMissedSecretKeyMode(workingDir string) error {
	_, err := GetRequiredSecretKey(workingDir)
	if err != nil {
		if _, missedKey := err.(*EncryptionKeyRequiredError); missedKey {
			manager.missedSecretKeyModeEnabled = true
			return nil
		}
		return fmt.Errorf("unable to load secret key: %w", err)
	}
	return nil
}