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

47 lines
776 B
TypeScript
Raw Normal View History

2020-08-04 13:34:22 -07:00
import {
ICredentialType,
INodeProperties,
2020-08-04 13:34:22 -07:00
} from 'n8n-workflow';
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',
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',
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',
name: 'forcePathStyle',
type: 'boolean',
2020-10-22 06:46:03 -07:00
default: false,
2020-08-04 13:34:22 -07:00
},
];
}