mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 16:27:46 +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
|
// Mongo backend check: https://github.com/Infisical/infisical-mongo/blob/main/backend/src/helpers/secrets.ts#L658
|
||||||
let secretType = type;
|
let secretType = type;
|
||||||
if (actor === ActorType.SERVICE) {
|
if (actor === ActorType.SERVICE) {
|
||||||
|
logger.info(
|
||||||
|
`secretServiceFactory: overriding secret type for service token [projectId=${projectId}] [factoryFunctionName=getSecretByName]`
|
||||||
|
);
|
||||||
secretType = SecretType.Shared;
|
secretType = SecretType.Shared;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user