feat(core): Credentials for popular SecOps services, Part 1 (#6775)

This commit is contained in:
Michael Kret
2023-07-31 11:26:38 +03:00
committed by GitHub
parent 50b0dc21fd
commit 11567f946b
56 changed files with 1724 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class MicrosoftEntraOAuth2Api implements ICredentialType {
name = 'microsoftEntraOAuth2Api';
displayName = 'Microsoft Entra ID (Azure Active Directory) API';
extends = ['microsoftOAuth2Api'];
icon = 'file:icons/Azure.svg';
documentationUrl = 'microsoft';
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default:
'openid offline_access AccessReview.ReadWrite.All Directory.ReadWrite.All NetworkAccessPolicy.ReadWrite.All DelegatedAdminRelationship.ReadWrite.All EntitlementManagement.ReadWrite.All',
},
];
}