cdpy authentication #107
Answered
by
wmudge
tomateoooh
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
wmudge
Feb 6, 2025
Replies: 3 comments 5 replies
-
Yes, in fact, we do so all the time for the same reasons. Can you confirm that the underlying |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi Webster, That has clarified things a lot. I should be hashing the private key. Thanks very much for your help, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Tom,
cdpy
wraps/delegates to the underlyingEnvProvider
in thecdpcli
package. This code tests the value of the environment variableCDP_PRIVATE_KEY
by first checking if it is a file and then if the value is hashed. If not, it throws the error you are seeing, which is a bit misleading.https://github.com/cloudera/cdpcli/blob/master/cdpcli/credentials.py#L187-L194
It appears that indee…