Penv Cloud
Start free
Docs
Reference

Laravel Cloud

Sync an environment with a Laravel Cloud environment's variables.

Sync an environment with a Laravel Cloud environment's variables.

Connection

WhatThis provider
VendorLaravel Cloud
Keylaravel-cloud-env
Availabilityavailable. You can connect it today.
Credential we holdlaravel-cloud-token
Values read backyes
Activationon-next-deploy

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

on-next-deploy. A new value waits there and arrives with your next deploy.

Conflict policies

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
tokenAPI tokensecret; we mask it here and seal ityesCreate it under Organization settings, API tokens. Tokens expire after 1 month, 6 months or 1 year, so mint a new one before yours runs out. If you scope it, allow viewing environment variables, plus managing them to export.

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
environmentIdEnvironment IDtextyesnoRun cloud environment:list in the Laravel Cloud CLI and copy the ID column. The name and slug are different values. We sync the environment's own variables. Organization secrets attached to it are never read or pruned, and export stops, before any write, on a key one of them sets.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
Permission to view environment variablesevery directionyesPreview cannot read the environment's variables, so nothing can be compared.
Permission to manage environment variablesexportyesExport cannot add, change or delete a variable.