Open harshit777 opened 1 year ago
Code and Evidence
1) Client Config Call
kp = redstone.service("KeyProtect",
credentials=tm,
region=region_name,
service_instance_id=service_id,
endpoint_url= "",
headers = {
"Custom-Header" : "Custom-value-Client",
}
)
2) Per API Call
kp.session.headers["Custom-Header"] = "Cuatom-Value-API"
key = kp.create_key(name="MyTestKey")
kp.session.headers["Custom-Header"] = None
print(kp.get(key.get('id')))
Reference to the Issue