Penv Cloud
Start free
Docs
Reference

GitHub Codespaces secrets

Export secrets into a GitHub repository's Codespaces store.

Export secrets into a GitHub repository's Codespaces store.

Connection

WhatThis provider
VendorGitHub
Keygithub-codespaces-secrets
Availabilityavailable. You can connect it today.
Credential we holdgithub-token
Values read backno
Activationon-next-deploy

Directions

DirectionWhat it does
exportWe write names and values from your environment into the store.

GitHub returns no value once it holds one, so we can write here and cannot read back.

Activation

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

Conflict policies

DirectionPolicies you can pick
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
tokenAccess tokensecret; we mask it here and seal ityes

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
repositoryRepositorytextyesnoThe repository this sync writes to.
ownerAccounttextyesnoThe account or organization that owns it.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
user:readevery directionyesWe cannot confirm which GitHub account this token belongs to.
secrets:writeexportyesExport cannot write anything.