Closed okulkarni-weekendr closed 6 years ago
You want getSecret
:
https://github.com/fugue/credstash/blob/master/credstash.py#L467
On Fri, Dec 29, 2017 at 1:30 PM, Omkar Kulkarni notifications@github.com wrote:
I am trying to use credstash for accessing credentials stored in KMS, however, even before accessing them, the python 2.7 lambda runtime on aws is giving me an error:
'module' object has no attribute 'get': AttributeError Traceback (most recent call last): File "/var/task/lambda_function.py", line 12, in lambda_handler print '%s' %(credstash.get('tv.forecaster.dev.cms.username')) AttributeError: 'module' object has no attribute 'get'
As there is hardly any info out there, i am struggling with this problem in vain. If anyone can help me solve the problem, I will be highly grateful. Following is my requirements.txt:
credstash==1.13.1 cryptography==2.0.3
I am accessing my credentials like this:
import credstash
string cred = credstash.get('name_of_the_stored_cred_in_dynamodb')
is the way i am accessing the credential using credstash wrong?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fugue/credstash/issues/194, or mute the thread https://github.com/notifications/unsubscribe-auth/AMZ3DpRcoUx1Swgz8vLL8cH7yooBqER9ks5tFS_AgaJpZM4RPTXm .
I am trying to use credstash for accessing credentials stored in KMS, however, even before accessing them, the python 2.7 lambda runtime on aws is giving me an error:
As there is hardly any info out there, i am struggling with this problem in vain. If anyone can help me solve the problem, I will be highly grateful. Following is my requirements.txt:
I am accessing my credentials like this:
is the way i am accessing the credential using credstash wrong?