Learn how to configure a TeamCity Sync for Infisical.
Prerequisites:
Navigate to Project > Integrations and select the Secret Syncs tab. Click on the Add Sync button.
Select the TeamCity option.
Configure the Source from where secrets should be retrieved, then click Next.
If you need to sync secrets from multiple folder locations, check out secret imports.
Configure the Destination to where secrets should be deployed, then click Next.
Not including a Build Configuration will sync secrets to the project.
Configure the Sync Options to specify how secrets should be synced, then click Next.
Initial Sync Behavior: Determines how Infisical should resolve the initial sync.
Infisical only syncs secrets from within the target scope; inherited secrets will not be imported.
Key Schema: Template that determines how secret names are transformed when syncing, using {{secretKey}}
as a placeholder for the original secret name and {{environment}}
for the environment.
We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.
Configure the Details of your TeamCity Sync, then click Next.
Review your TeamCity Sync configuration, then click Create Sync.
If enabled, your TeamCity Sync will begin syncing your secrets to the destination endpoint.
Navigate to Project > Integrations and select the Secret Syncs tab. Click on the Add Sync button.
Select the TeamCity option.
Configure the Source from where secrets should be retrieved, then click Next.
If you need to sync secrets from multiple folder locations, check out secret imports.
Configure the Destination to where secrets should be deployed, then click Next.
Not including a Build Configuration will sync secrets to the project.
Configure the Sync Options to specify how secrets should be synced, then click Next.
Initial Sync Behavior: Determines how Infisical should resolve the initial sync.
Infisical only syncs secrets from within the target scope; inherited secrets will not be imported.
Key Schema: Template that determines how secret names are transformed when syncing, using {{secretKey}}
as a placeholder for the original secret name and {{environment}}
for the environment.
We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.
Configure the Details of your TeamCity Sync, then click Next.
Review your TeamCity Sync configuration, then click Create Sync.
If enabled, your TeamCity Sync will begin syncing your secrets to the destination endpoint.
To create a TeamCity Sync, make an API request to the Create TeamCity Sync API endpoint.
The Project and Build Config parameters must use project and build configuration IDs, not their names.