Tensorflow Serving authentication
Asked Answered
F

2

2

I'm using tensorflow serving version 2.2 on Docker with the client REST on Google Cloud Run, i would like to create some authentication method to improve the security.

How can I implement TF Serving with authentication ? I don't found references.

Fornicate answered 29/7, 2020 at 23:8 Comment(0)
N
0

Cloud Run currently doesn’t have builtin support end-user authentication easily. You can use something like Firebase Auth with Cloud Run to authenticate interactive (browser) users.

However, it seems you have a REST API (headless requests). If you want to built authentication/authorization you pretty much have to build something like OAuth (also explained in the same link above).

If you are trying to just authenticate yourself, you can implement HTTP Basic Authentication (username:password, passed in a header).

Newsome answered 30/7, 2020 at 17:58 Comment(0)
R
-2

You can add a authentication by linux firewall......

Rotter answered 30/7, 2020 at 2:25 Comment(1)
Are you talk about iptables ? Tell me more.Fornicate

© 2022 - 2024 — McMap. All rights reserved.