infisical icon indicating copy to clipboard operation
infisical copied to clipboard

Integrations/Sync with Tag Filter

Open rawkode opened this issue 1 year ago • 4 comments

Feature description

As I continue to explore Infisical for mono-repo setups; I would like to configure an integration to Supabase and GitHub; but I don't want to sync all the secrets within a folder.

Instead, I'd like to sync all the secrets within a folder (or project) that are tagged with a certain tag.

Related: #243

Why would it be useful?

I've tried to do this on a folder level, but it requires lots of secret references which aren't ideal as they don't work well with a mono repository hierarchy and all references need to be absolute as ../ or folder_from_here/ don't work.

Additional context

N/A

rawkode avatar Jan 29 '24 15:01 rawkode

@rawkode have you tried secret import feature. https://infisical.com/docs/documentation/platform/secret-reference#import-entire-folders

This will pull all the secrets of any environment or any path that you have access to

akhilmhdh avatar Jan 30 '24 06:01 akhilmhdh

@akhilmhdh No, though that will definitely help minimise the toil. I could have a special "integrations" folder with subfolders for syncs; then pull them into sub-folders, but it will still be a bit more effort than I'd like.

Being able to say "Sync all Supabase tagged secrets to Supabase" is a much more flexible solution, especially if it can traverse folders.

Let me know if this is a feature that would be welcomed and I'll work on a PR

rawkode avatar Jan 30 '24 07:01 rawkode

So if my understanding is right.

You want to also have an additional filter by tag while integration syncing.

Hmm we are soon gonna do an integration revamp.

CC: @dangtony98 (for visibility)

akhilmhdh avatar Jan 30 '24 07:01 akhilmhdh

🙁

This is disappointing. I'd have been happy to contribute this myself

rawkode avatar Aug 12 '24 06:08 rawkode