Skip to main content
Pxxl encrypts every value. List calls return names and metadata, not secret values. For how variables reach your app, see environment variables.

Variable input

string
required
Project receiving the variables.
array
required
Array of variable objects.
string
required
Variable name. It must start with a letter or underscore and contain only letters, numbers, and underscores.
string
required
Value encrypted by Pxxl.
boolean
default:"false"
Marks the value as sensitive.
boolean
default:"false"
Writes to the project’s global variables instead of its own.
boolean
default:"false"
Replaces the stored set with vars instead of merging.

Compare variables

Returns
Each row’s status is same, changed, missing_remote, or missing_local.

Push variables

In Go and Rust, put replace inside the input object. Python takes global_=True and replace=True as keyword arguments.
replace: true removes stored variables that are not in vars. Run a diff first.

Environment operations

env.add() stores the value as a secret unless you pass secret: false. env.reveal() needs a read-and-write API key.
pxxl.environments is the same object as pxxl.env. Adding, editing, revealing, and removing single variables is in Node.js only.