Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine which credential types are allowed for an adaptor #595

Closed
sverhoeven opened this issue Nov 27, 2017 · 3 comments
Closed

Determine which credential types are allowed for an adaptor #595

sverhoeven opened this issue Nov 27, 2017 · 3 comments

Comments

@sverhoeven
Copy link
Member

For Xenon CLI it would be nice to only show the credential options that are allowed for a certain adaptor.

For example the KeyTabCredential is only allowed by the HDFS adaptor, showing the --keytab argument only when HFDS has been selected will make the CLI cleaner for the other adaptors.

@jmaassen
Copy link
Member

Agreed. But how do we return these ? As strings ? Classes ?

@sverhoeven
Copy link
Member Author

I prefer classes as these are less typo prone.

@jmaassen
Copy link
Member

Sure, no problem. I'll add a getSupportedCredentials to AdaptorDescription

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants