You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use credential environment variables to log into the CLI. I set my CDP_ACCESS_KEY_ID and CDP_PRIVATE_KEY as two strings, as they are presented in the API Access Key:
I'm getting the following error:
cdpy.common.CdpError: CdpError(NoCredentialsError('Unable to locate CDP credentials: Private key file does not exist.'))
Which suggests to me that the code expects a path to a private key file. This seems odd to me, as a file is unnecessary when the token is available in the environment variable. Is this the intended behaviour? Using a file, rather than the string directly from the variable seems less secure as the credentials will be just available to read.
Thanks,
Tom
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to use credential environment variables to log into the CLI. I set my CDP_ACCESS_KEY_ID and CDP_PRIVATE_KEY as two strings, as they are presented in the API Access Key:
I'm getting the following error:
cdpy.common.CdpError: CdpError(NoCredentialsError('Unable to locate CDP credentials: Private key file does not exist.'))
Which suggests to me that the code expects a path to a private key file. This seems odd to me, as a file is unnecessary when the token is available in the environment variable. Is this the intended behaviour? Using a file, rather than the string directly from the variable seems less secure as the credentials will be just available to read.
Thanks,
Tom
The text was updated successfully, but these errors were encountered: