bravado icon indicating copy to clipboard operation
bravado copied to clipboard

add support for codegen of PKCS authentication methods

Open openfly opened this issue 7 years ago • 3 comments

We have some APIs that do PKCS authentication ( passing of unpacked p12 cert bundles ) to authenticate some of the endpoints.

We would like to use bravado to codegen off our our swagger files. But we'll need to figure out how to handle the PKCS authenticated endpoints. Dropping this issue here to cover the effort to do that.

Feel free to ask questions, provide insight on how, or just tell me I am a crank for trying to support PKCS. =P

openfly avatar Jun 27 '17 12:06 openfly

I need this too, except with pem certs. Works with swagger-codegen (but it has other problems).

bedge avatar May 24 '18 22:05 bedge

Hello @openfly and @bedge , it's not clear to me what exactly are you proposing to address. Could you detail a bit more? Knowing the use-case could simplify further discussions

macisamuele avatar May 30 '18 07:05 macisamuele

I have an API where the client needs to authenticate by providing a .pem cert. Similar to how one needs to import a cert into the browser before accessing a web site. Seems to be a common auth method with internal corporate web assets. Ideally one would also be able to provide a passphrase at request time, but thats not a requirement as one can repackage the cert to not require a passphrase.

bedge avatar May 30 '18 15:05 bedge