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
{{ message }}
This repository was archived by the owner on Feb 24, 2022. It is now read-only.
I'm attempting to use the etcd4j lib to access an etcd service within BlueMix. The issue I have is how to handle the certificate (ca_certificate_base64) contained in the credentials below : -
Hi,
I'm attempting to use the etcd4j lib to access an etcd service within BlueMix. The issue I have is how to handle the certificate (ca_certificate_base64) contained in the credentials below : -
{
"compose-for-etcd": [
{
"credentials": {
"db_type": "etcd",
"name": "bmix-dal-yp-03b4f889-d2c1",
"uri_cli": "etcdctl --ca-file [CA_CERT_FILE] --no-sync --peers https://bluemix-address-portal.8.dblayer.com:25302,https://bluemix-address-portal.7.dblayer.com:25302 -u root:PASSWORD ls /",
"uri_direct_1": "https://root:PASSWORD@bluemix-address-portal.7.dblayer.com:25302/v2/keys",
"ca_certificate_base64": "cert_blah_blah=",
"deployment_id": "deployment_id",
"uri": "https://root:_PASSWORD@bluemix-address-portal.8.dblayer.com:25302/v2/keys"
},
"syslog_drain_url": null,
"label": "compose-for-etcd",
"provider": null,
"plan": "Standard",
"name": "Compose for etcd-zk",
"tags": [
"big_data",
"data_management",
"ibm_created",
"ibm_beta"
]
}
]
}
I'm not sure how I create the etcd4j client and initialise it with the ca certificate.