fix(HTTP Request Node): Sanitize secrets of predefined credentials (#9612)

This commit is contained in:
Elias Meire
2024-06-05 09:25:39 +02:00
committed by GitHub
parent 5361e9f69a
commit 84f091d3e5
5 changed files with 222 additions and 71 deletions

View File

@@ -216,6 +216,8 @@ export abstract class ICredentialsHelper {
type: string,
data: ICredentialDataDecryptedObject,
): Promise<void>;
abstract getCredentialsProperties(type: string): INodeProperties[];
}
export interface IAuthenticateBase {
@@ -813,6 +815,7 @@ export type NodeTypeAndVersion = {
export interface FunctionsBase {
logger: Logger;
getCredentials(type: string, itemIndex?: number): Promise<ICredentialDataDecryptedObject>;
getCredentialsProperties(type: string): INodeProperties[];
getExecutionId(): string;
getNode(): INode;
getWorkflow(): IWorkflowMetadata;