Reference

License keys

Team features are in the posturanet-pro package and turn on with a signed license key. Everything in Community works without one.

1. Get your key

Start a founding seat from pricing. Within a minute of checkout you get an email with your key and the PosturaNet Pro package attached (posturanet_pro-<version>-py3-none-any.whl). A trial key lasts until the trial ends; each payment after that emails a new key.

2. Put the key where PosturaNet looks

PosturaNet reads the POSTURANET_LICENSE environment variable first, then the file ~/.posturanet/license. Put it in each place you run Team commands:

WhereHow
GitHub ActionsRepo Settings > Secrets and variables > Actions > New repository secret, named POSTURANET_LICENSE. For many repos, add it once as an organization secret.
GitLab CISettings > CI/CD > Variables > Add variable, key POSTURANET_LICENSE, Masked and Protected.
Other CIA secret environment variable named POSTURANET_LICENSE (CircleCI context, Jenkins credential, Buildkite secret).
Your machineThe file ~/.posturanet/license, readable only by you. Or the POSTURANET_LICENSE variable, which wins over the file.

On your machine:

$ mkdir -p ~/.posturanet
$ printf '%s' '<your key>' > ~/.posturanet/license
$ chmod 600 ~/.posturanet/license

Treat it like a password: anyone with the key can use your license. Never commit it, and don't paste it into issues or chat.

3. Install PosturaNet Pro

Commit the package from the email to your infrastructure repo at vendor/, so CI installs the same version you tested:

$ pip install posturanet vendor/posturanet_pro-*.whl

Later versions download with your key:

$ curl -fsSLOJ -H "Authorization: Bearer $POSTURANET_LICENSE" https://license.posturanet.com/download

4. Check it

$ posturanet license status
sub_1Qx… · Acme Inc · team · features: evidence, gate, living, slack, triggers · expires 2027-01-08

Exit 0 means the key is valid. Exit 6 means it's missing, invalid or expired; the message says which.

5. Renewals happen by themselves

Each key ends a week after the period you paid for, so a monthly plan gets a new key every month. You don't need to update the secret by hand:

$ posturanet license refresh
sub_1Qx… · valid until 2027-02-08 · saved to ~/.posturanet/license

It sends your current key, and nothing else, to the PosturaNet license service and saves the key for your latest paid invoice. In GitHub Actions it also hands the new key to the later steps. The workflows that ship with Pro already run it. In other CI, start the job with:

mkdir -p ~/.posturanet && printf '%s' "$POSTURANET_LICENSE" > ~/.posturanet/license
posturanet license refresh || true
unset POSTURANET_LICENSE   # later commands read the refreshed file

Cancel and no new key is issued: Team features stop when the last key ends. Nothing in your repo changes, and every Community command keeps working.

What a key turns on

Each key lists its features and an expiry date.

FeatureCommands
livingcontract refresh and contract live
evidenceevidence keygen, record and export
triggerstriggers template and dispatch: runs on new findings
slacknotify slack
gategate --org-config: the org-wide contract gate

A Team command run without a key that lists its feature exits 6 and says which feature is missing. An expired key stops only Team features.

When something's wrong

MessageWhat to do
no license keyNothing in POSTURANET_LICENSE or ~/.posturanet/license on that machine or CI job.
license … expired on …Run posturanet license refresh. If billing failed, update the card from the link in your email.
doesn't include 'gate'Your plan doesn't list that feature. Reply to your license email to change plans.
signature doesn't match / malformedThe key was cut off when pasted. Copy the whole line from the email: two parts joined by a dot.

Lost the email? Run posturanet license refresh anywhere the old key still is, or reply to any PosturaNet email. If a key leaks, tell us and we'll issue a new one.

What it checks, and what it sends

The key is an Ed25519-signed token, checked offline against a public key that ships with the package. Checking it sends nothing anywhere. The only network call is posturanet license refresh, and only when you run it.

Next: Outcome share