Skip to content

Instantly share code, notes, and snippets.

View robinef's full-sized avatar

Frédéric ROBINET robinef

View GitHub Profile

Keybase proof

I hereby claim:

  • I am robinef on github.
  • I am robinef (https://keybase.io/robinef) on keybase.
  • I have a public key whose fingerprint is 37F3 6A35 1DEB A169 BD1E F0D5 151D D720 0CE4 BA2D

To claim this, I am signing this object:

@robinef
robinef / credhub.js
Created October 12, 2018 19:48
NodeJS Credhub example
const options = {
hostname: 'my.server.com',
port: 443,
path: "/",
method: 'GET',
key: services.kinja.credentials.value.private_key,
cert: services.kinja.credentials.value.certificate
};
options.agent = new https.Agent(options);
const req = https.request(options, (resCred) => {});