mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(Venafi TLS Protect Cloud Node): Add region parameter to Venafi protect cloud (#7689)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -13,6 +13,22 @@ export class VenafiTlsProtectCloudApi implements ICredentialType {
|
||||
documentationUrl = 'venafitlsprotectcloud';
|
||||
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Region',
|
||||
name: 'region',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'US',
|
||||
value: 'cloud',
|
||||
},
|
||||
{
|
||||
name: 'EU',
|
||||
value: 'eu',
|
||||
},
|
||||
],
|
||||
default: 'cloud',
|
||||
},
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'apiKey',
|
||||
@@ -33,7 +49,7 @@ export class VenafiTlsProtectCloudApi implements ICredentialType {
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: 'https://api.venafi.cloud',
|
||||
baseURL: '=https://api.venafi.{{$credentials.region ?? "cloud"}}',
|
||||
url: '/v1/preferences',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user