Function login

  • The main function to login to the contrail platform. Sample usage:

    await login({orgSlug: 'YOUR-ORG-HERE', email: 'myEmail@example.com', password: 'neverInPlainText'});
    // or using an api key like the one you can get from `contrail app getApiKey`
    await login({orgSlug: 'test-zone-1', apiKey: 'app:qwerty'}

    Parameters

    Returns Promise<AuthContext>

Generated using TypeDoc