الانتقال إلى المحتوى

Sync secrets to Vercel, Netlify, AWS and other platforms

Deploy integrations push one environment's values to the platform that runs your code, by hand or automatically about 10 seconds after every change. ProductEnv supports Vercel, Netlify, Render, Railway, Fly.io, GitLab CI, AWS Systems Manager Parameter Store and AWS Secrets Manager, plus a separate connector for AWS Elastic Beanstalk.

آخر تحديث

هذه الصفحة متوفرة بالإنجليزية حاليًا.

Connect a platform

  1. Open the project's environment and choose Connectors in the secrets toolbar.
  2. Under Add an integration, pick the platform.
  3. Fill in a Name, the Environment to sync, the target (see the table below) and the Credentials. ProductEnv checks them with the platform before saving, stores them encrypted and never shows them again.
  4. Choose whether to turn on Auto-sync and Remove deleted keys, then save.

You need the Manage deploy integrations permission, which comes with View secrets. The Free plan includes 2 deploy integrations per organization; Team and Business have no limit, up to 25 per project. Integrations beyond your plan show Paused and don't sync.

What each platform needs

Credentials and targets per platform
PlatformCredentialTarget
VercelVercel access tokenVercel project, team id, and the Production, Preview and Development targets
NetlifyNetlify personal access tokenTeam slug, site id and deploy context (all, production, deploy previews, branch deploys or local development)
RenderRender API keyService id
RailwayRailway account or team tokenProject id, environment id and service id (leave the service empty for shared variables)
Fly.ioFly.io API tokenApp name (new values apply on the next deploy)
GitLab CIGitLab access token with the api scopeProject, environment scope (* by default), masked and protected flags, and the address of a self-hosted GitLab
AWS Parameter StoreAccess key id and secret access keyRegion and path prefix, such as /my-app/production/
AWS Secrets ManagerAccess key id and secret access keyRegion and secret name

AWS Parameter Store and Secrets Manager

  • Parameter Store writes one SecureString parameter per key, named <path prefix><KEY>. The prefix can't start with /aws or /ssm, and empty values are skipped.
  • Secrets Manager writes one secret whose value is a JSON object with every key. The first sync creates it; later syncs merge into it and keep keys written by others.
  • Both use an IAM access key. Give it only what the integration needs: ssm:GetParametersByPath, ssm:PutParameter and ssm:DeleteParameters on the prefix, or secretsmanager:DescribeSecret, secretsmanager:GetSecretValue, secretsmanager:PutSecretValue and secretsmanager:CreateSecret on the secret.
  • Values are encrypted with the AWS account's default key: choosing a customer-managed KMS key isn't supported yet.

How syncing works

  • Sync now pushes the environment at once. With Auto-sync on, ProductEnv syncs about 10 seconds after every change to the environment.
  • Existing values on the platform are overwritten. With Remove deleted keys on (the default), keys you delete in ProductEnv are deleted there too, but only keys ProductEnv wrote.
  • The Shared app's keys are included in every app's environment, so integrations target an app's environment, never Shared directly.
  • Key names become environment variable names: ConnectionStrings:Default is sent as ConnectionStrings__Default.
  • Each integration shows Synced, Sync failed or Never synced, with the last sync and how many keys it manages. Drift compares key names with the platform.
  • Failed syncs send an Integration sync notification, and webhooks can receive sync.succeeded and sync.failed.

Disconnecting an integration stops it at once and leaves the values already on the platform as they are.

AWS Elastic Beanstalk

Elastic Beanstalk has its own connector on the same Connectors page, on every plan. Choose Connect AWS Elastic Beanstalk and enter an Access Key ID, Secret Access Key, AWS Region, Application Name and Environment Name. Use a dedicated IAM user allowed elasticbeanstalk:DescribeEnvironments and elasticbeanstalk:UpdateEnvironment.

  • One Elastic Beanstalk environment per app. Sync with Elastic Beanstalk writes every value as an environment property.
  • Syncs are manual, and keys deleted in ProductEnv are not removed from Elastic Beanstalk.
  • It needs the Manage AWS permission, plus View secrets to connect and sync.

الأسئلة الشائعة

Can ProductEnv use an IAM role instead of access keys for AWS?

Not yet: AWS integrations use an IAM access key. Create a dedicated IAM user whose policy allows only the actions and resources the integration needs.

What happens to my integrations if I downgrade?

Integrations beyond the new plan's limit show Paused and stop syncing, including auto-sync. Values already on the platform stay. They sync again once you upgrade or remove other integrations.

Is the GitHub Actions sync a deploy integration?

No. GitHub has its own sync through the ProductEnv GitHub App, isn't counted in the deploy integration limit, and always runs by hand.