mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Minor improvements to S3-Node
This commit is contained in:
45
packages/nodes-base/credentials/S3.credentials.ts
Normal file
45
packages/nodes-base/credentials/S3.credentials.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
||||
export class S3 implements ICredentialType {
|
||||
name = 's3';
|
||||
displayName = 'S3';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'S3 endpoint',
|
||||
name: 'endpoint',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: ''
|
||||
},
|
||||
{
|
||||
displayName: 'Region',
|
||||
name: 'region',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: 'us-east-1',
|
||||
},
|
||||
{
|
||||
displayName: 'Access Key Id',
|
||||
name: 'accessKeyId',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Secret Access Key',
|
||||
name: 'secretAccessKey',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
typeOptions: {
|
||||
password: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Force path style',
|
||||
name: 'forcePathStyle',
|
||||
type: 'boolean' as NodePropertyTypes,
|
||||
default: false
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user