mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 18:27:19 +00:00
add account info to metadata
This commit is contained in:
@@ -498,9 +498,17 @@ export const pamAccountServiceFactory = ({
|
|||||||
projectId: account.projectId
|
projectId: account.projectId
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const accountPath = await getFullPamFolderPath({
|
||||||
|
pamFolderDAL,
|
||||||
|
folderId: account.folderId,
|
||||||
|
projectId: resource.projectId
|
||||||
|
});
|
||||||
|
|
||||||
metadata = {
|
metadata = {
|
||||||
username: credentials.username,
|
username: credentials.username,
|
||||||
database: connectionCredentials.database
|
database: connectionCredentials.database,
|
||||||
|
accountName: account.name,
|
||||||
|
accountPath
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user