mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 21:40:31 +00:00
misc: developed create kms backup feature
This commit is contained in:
@@ -53,3 +53,11 @@ export const useGetActiveProjectKms = (projectId: string) => {
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
export const fetchProjectKmsBackup = async (projectId: string) => {
|
||||
const { data } = await apiRequest.get<{
|
||||
secretManager: string;
|
||||
}>(`/api/v1/workspace/${projectId}/kms/backup`);
|
||||
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user