mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 08:46:58 +02:00
38 lines
729 B
TypeScript
38 lines
729 B
TypeScript
import type { ICredentialType, INodeProperties, Icon, ThemeIconColor } from 'n8n-workflow';
|
|
|
|
export class Crypto implements ICredentialType {
|
|
name = 'crypto';
|
|
|
|
displayName = 'Crypto';
|
|
|
|
documentationUrl = 'crypto';
|
|
|
|
icon: Icon = 'fa:key';
|
|
|
|
iconColor: ThemeIconColor = 'green';
|
|
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Hmac Secret',
|
|
name: 'hmacSecret',
|
|
type: 'string',
|
|
description: 'Secret used in the Hmac action',
|
|
typeOptions: {
|
|
password: true,
|
|
},
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Private Key',
|
|
name: 'signPrivateKey',
|
|
type: 'string',
|
|
description: 'Private Key used in the Sign action',
|
|
typeOptions: {
|
|
rows: 4,
|
|
password: true,
|
|
},
|
|
default: '',
|
|
},
|
|
];
|
|
}
|