Skip to main content

SecretSyncGitlab

Resource SecretSyncGitlab in pulumi-infisical.
5 min read

Resource SecretSyncGitlab in pulumi-infisical.

Pulumi type: infisical:index/secretSyncGitlab:SecretSyncGitlab.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
autoSyncEnabledbooleannoWhether secrets should be automatically synced when changes occur at the source location or not.
connectionIdstringyesThe ID of the gitlab Connection to use for syncing.
descriptionstringnoAn optional description for the GitLab sync.
destinationConfigSecretSyncGitlabDestinationConfig (input)yesThe destination configuration for the secret sync.
environmentstringyesThe slug of the project environment to sync secrets from.
namestringnoThe name of the GitLab sync to create. Must be slug-friendly.
projectIdstringyesThe ID of the Infisical project to create the sync in.
secretPathstringyesThe folder path to sync secrets from.
syncOptionsSecretSyncGitlabSyncOptions (input)yesParameters to modify how secrets are synced.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
autoSyncEnabledbooleannoWhether secrets should be automatically synced when changes occur at the source location or not.
connectionIdstringnoThe ID of the gitlab Connection to use for syncing.
descriptionstringnoAn optional description for the GitLab sync.
destinationConfigSecretSyncGitlabDestinationConfig (output)noThe destination configuration for the secret sync.
environmentstringnoThe slug of the project environment to sync secrets from.
namestringnoThe name of the GitLab sync to create. Must be slug-friendly.
projectIdstringnoThe ID of the Infisical project to create the sync in.
secretPathstringnoThe folder path to sync secrets from.
syncOptionsSecretSyncGitlabSyncOptions (output)noParameters to modify how secrets are synced.

SecretSyncGitlabDestinationConfig (input)#

Input object SecretSyncGitlabDestinationConfig. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
groupIdstringnoThe GitLab Group ID to sync secrets to. Required when scope is 'group'.
groupNamestringnoThe GitLab Group Name to sync secrets to. Optional when scope is 'group'.
projectIdstringnoThe GitLab Project ID to sync secrets to. Required when scope is 'project'.
projectNamestringnoThe GitLab Project Name to sync secrets to. Optional when scope is 'project'.
scopestringyesThe GitLab scope that secrets should be synced to. Supported options: 'project', 'group'
shouldHideSecretsbooleannoWhether variables should be hidden
shouldMaskSecretsbooleannoWhether variables should be masked in logs
shouldProtectSecretsbooleannoWhether variables should be protected
targetEnvironmentstringyesThe GitLab environment scope that secrets should be synced to. (default: *)

SecretSyncGitlabSyncOptions (input)#

Input object SecretSyncGitlabSyncOptions. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
disableSecretDeletionbooleannoWhen set to true, Infisical will not remove secrets from GitLab. Enable this option if you intend to manage some secrets manually outside of Infisical.
initialSyncBehaviorstringyesSpecify how Infisical should resolve the initial sync to the destination. Supported options: overwrite-destination
keySchemastringnoThe format to use for structuring secret keys in the GitLab destination.

SecretSyncGitlabDestinationConfig (output)#

Output object SecretSyncGitlabDestinationConfig. Fields below belong to this object.

PropertyTypeAlways presentDescription
groupIdstringnoThe GitLab Group ID to sync secrets to. Required when scope is 'group'.
groupNamestringnoThe GitLab Group Name to sync secrets to. Optional when scope is 'group'.
projectIdstringnoThe GitLab Project ID to sync secrets to. Required when scope is 'project'.
projectNamestringnoThe GitLab Project Name to sync secrets to. Optional when scope is 'project'.
scopestringyesThe GitLab scope that secrets should be synced to. Supported options: 'project', 'group'
shouldHideSecretsbooleanyesWhether variables should be hidden
shouldMaskSecretsbooleanyesWhether variables should be masked in logs
shouldProtectSecretsbooleanyesWhether variables should be protected
targetEnvironmentstringyesThe GitLab environment scope that secrets should be synced to. (default: *)

SecretSyncGitlabSyncOptions (output)#

Output object SecretSyncGitlabSyncOptions. Fields below belong to this object.

PropertyTypeAlways presentDescription
disableSecretDeletionbooleanyesWhen set to true, Infisical will not remove secrets from GitLab. Enable this option if you intend to manage some secrets manually outside of Infisical.
initialSyncBehaviorstringyesSpecify how Infisical should resolve the initial sync to the destination. Supported options: overwrite-destination
keySchemastringnoThe format to use for structuring secret keys in the GitLab destination.