mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
add log
This commit is contained in:
@@ -543,6 +543,9 @@ export const secretServiceFactory = ({
|
||||
// Mongo backend check: https://github.com/Infisical/infisical-mongo/blob/main/backend/src/helpers/secrets.ts#L658
|
||||
let secretType = type;
|
||||
if (actor === ActorType.SERVICE) {
|
||||
logger.info(
|
||||
`secretServiceFactory: overriding secret type for service token [projectId=${projectId}] [factoryFunctionName=getSecretByName]`
|
||||
);
|
||||
secretType = SecretType.Shared;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user