Management API in actions

Hello,
thanks for the reply.
It seems there is no way to get accessToken anymore like in rule, so the management api should be called like this

var management = new ManagementClient({
    	    domain: event.secrets.domain,
					clientId: event.secrets.clientId,
					clientSecret: event.secrets.clientId
    	  });

do you confirm ?
thanks again