The official documentation for sharing your app is here. The answer comes in two parts:
The script performs the following steps.
...
Step 2: Verifies whether you have a developer license. If the script doesn't find one or your current license has expired, you're prompted to get one.
To get a developer license, you must have a Microsoft account. For more information, see Get a developer license (Metro style apps).
Before the Store accepts your Metro style app, you must package it and get it certified according to certain rules. If the Windows Store hasn’t certified a Metro style app, the app can’t run on Windows unless you have a developer license installed on the local machine or the app was sideloaded onto the machine by your enterprise. (This restriction doesn’t apply to desktop apps.) Sideloading is the process of installing apps that were not distributed through the Windows Store, usually for testing an app before it is ready for sale. For more info on sideloading, see What is sideloading? Does the Windows Store allow it?
Link to get a developer liscense without visual studio.
Getting a developer license at a command prompt
If you aren’t using
Visual Studio 2012, you can get and manage developer licenses at a
command prompt by running these commands in Windows PowerShell:
Show-WindowsDeveloperLicenseRegistration. This command opens a dialog
box from which you can get a developer license and install it on the
local machine. To run this command, you must have a valid Microsoft
account. You also must run this command in a command prompt with
elevated permissions.
Get-WindowsDeveloperLicense. This command
returns an object that has two properties: ExpirationTime and IsValid.
ExpirationTime is a System.DateTime structure that contains the date
and time when the license expires. IsValid is a System.Boolean that
indicates whether the license is valid. You can run this command from
either a non-elevated command prompt or a command prompt with elevated
permissions.
Unregister-WindowsDeveloperLicense. This command warns
you that some Metro style apps will stop working if you remove the
developer license from the local machine. If you choose "Yes" (the
default) to confirm that you want to remove the license, the license
is removed from the local machine. You must run this command in a
command prompt with elevated permissions. The examples show the basic
PowerShell syntax:
C:\PS> Show-WindowsDeveloperLicenseRegistration
C:\PS> Get-WindowsDeveloperLicense
C:\PS> Unregister-WindowsDeveloperLicense
Alternately, as you mentioned, you can side-load your application. Documentation for that is found here. Further information linking to the msdn on side-loading here.
The main point on the required key is:
Currently, the Consumer Preview and Windows Server 8 Beta are
classified as “enterprise sideloading enabled.” This means that when a
PC is domain joined, it can be configured to accept non-Windows Store
apps from their IT admin. Moving forward, this functionality to
install non-Windows Store Metro style apps will be available for
Windows 8 Enterprise Edition and Windows 8 Server editions.