Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 758 Bytes

Readme.md

File metadata and controls

26 lines (19 loc) · 758 Bytes

Space Blocks Hello World Sample

Setup

The permissions structure is described in the blog Quickly add permission checks to your ASP.NET apps .

Alternatively, the setup.sh script creates these structures via the API.

There is also a seeding.sh script that puts some demo data into Permissions.

Both scripts ask for the needed credentials / information. To avoid having to enter them again and again, create a secrets.json that looks like this:

{
    "permissionsUrl": "",
    "apiKey": "",
    "projectId": "",
    "environmentId": "",
    "clientId": "",
    "clientSecret": ""
}

Then run the scripts with the --secrets-from-file flag.