Infisical / infisical

♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
https://infisical.com
Other
13.16k stars 698 forks source link

Rename secret from overview, across all environments #862

Open decarbonise opened 11 months ago

decarbonise commented 11 months ago

Feature description

Currently, if we wish to rename a secret that has the same name across environments using the UI, we need to click into each environment separately and rename the secrets. This is tedious; we should be able to rename the secret on the overview page and have all environments updated

Manikanta528 commented 11 months ago

I can work on this feature request

maidul98 commented 11 months ago

cc: @akhilmhdh i think you already created this?

akhilmhdh commented 11 months ago

@maidul98 i don't think its in dashboard

So the requested feature is change in all env with one change.

Manikanta528 commented 11 months ago

@akhilmhdh are there any API endpoints for renaming all at one?

akhilmhdh commented 11 months ago

I dont think u need an api for that. Just rename all env of a secret from frontend itself

Manikanta528 commented 11 months ago

After renaming then it has to save changes? Right.

decarbonise commented 11 months ago

To implement it, if there's no API endpoint to do it across all three, you could loop through every defined environment within the project and rename them one by one?

Manikanta528 commented 11 months ago

Thank for the info

Manikanta528 commented 11 months ago

I can't able find a way to change the env in batchSecretOp in DashboardPage.

Grraahaam commented 4 months ago

@maidul98 @akhilmhdh I think this issue can be closed as resolved, thanks to https://github.com/Infisical/infisical/pull/1515 ?