code: func NewPasswordAndKeyCredentials(password, location string) (*DBCredentials, error) {
  	key, err := ParseKeyFile(location)
  	if err != nil {
  		return nil, err
  	}
  
  	hashedpw := sha256.Sum256([]byte(password))
  
  	return &DBCredentials{
  		Passphrase: hashedpw[:],
  		Key:        key,
  	}, nil
  }
docs: // NewPasswordAndKeyCredentials builds a new DBCredentials from a password and the key file at the path specified by location