n8n/packages/nodes-base/credentials/S3.credentials.ts

43 lines
772 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-08-04 13:34:22 -07:00
2020-09-01 23:30:01 -07:00
export class S3 implements ICredentialType {
name = 's3';
displayName = 'S3';
2020-09-17 03:56:07 -07:00
documentationUrl = 's3';
properties: INodeProperties[] = [
2020-08-04 13:34:22 -07:00
{
displayName: 'S3 Endpoint',
2020-08-04 13:34:22 -07:00
name: 'endpoint',
type: 'string',
2020-10-22 06:46:03 -07:00
default: '',
2020-08-04 13:34:22 -07:00
},
{
displayName: 'Region',
name: 'region',
type: 'string',
2020-08-04 13:34:22 -07:00
default: 'us-east-1',
},
{
displayName: 'Access Key ID',
2020-08-04 13:34:22 -07:00
name: 'accessKeyId',
type: 'string',
2020-08-04 13:34:22 -07:00
default: '',
},
{
displayName: 'Secret Access Key',
name: 'secretAccessKey',
type: 'string',
2020-08-04 13:34:22 -07:00
default: '',
typeOptions: {
password: true,
},
},
{
displayName: 'Force Path Style',
2020-08-04 13:34:22 -07:00
name: 'forcePathStyle',
type: 'boolean',
2020-10-22 06:46:03 -07:00
default: false,
2020-08-04 13:34:22 -07:00
},
];
}