Skip to content

Unable to authenticate Atlas server using kerberos authentication #290

@Rems143

Description

@Rems143

Describe the bug
I am using pyapacheatlas to communicate to my Apache Atlas server. I am trying to establish connection using kerberos. Currently there is no class under pyapacheatlas.auth. I found KerberosAuthentication class and its been not showing in this project package.

To Reproduce
Steps to reproduce the behavior:
add following code

from pyapacheatlas.auth import KerberosAuthentication
from pyapacheatlas.core import AtlasClient

Initialize Kerberos Authentication

auth = KerberosAuthentication()

Create Atlas Client with Kerberos Authentication

client = AtlasClient(endpoint_url=atlas_url, authentication=auth)

Expected behavior
I should be able to establish connection.
However I am getting issue - importError: cannot import name 'Kerberos Authentication' from 'apache atlas.auth'`
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows, Mac]
  • PyApacheAtlas Version (python -m pyapacheatlas --version):

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions