Похожие чаты

Hey Currently using googles cloud vision api in an electron app. The

docs tell me to create a service account, and that this service account needs appropriate permissions to access the api. Then tells you to give it the owner role (wtf?!!)
It also recommends to then limit the permissions later. But doesn't tell you how and just links to the general IAM docs (thanks)

But when i create a service account with no permissions at all, it can access the cloud vision api just fine. In fact, there is no role at all that related to cloud vision api. So despite the docs saying you have to set permissions, this is totally untrue.

Because of that I don't know if it would be save to ship the key file with the application. All i want that service account to be able to access is the cloud vision api ,which is literally the only thing this gcp project has enabled. But I'm not sure what resources such a service account can access by default, because the docs are clearly lying. Is it safe to embed the key file? Or do I actually have to build a fuckin proxy just So this key can stay safe. Oauth is not an Option and an api key is definitely insecure so not doing that

2 ответов

26 просмотров

Oh man it's one of the great mysteries of humanity. I've never seen anyone who managed to use the official Google API. That is, without the help of a third-party lib because it's just too bureaucratic and the authentication process is badly documented in my option. I wonder if that's a way they found to push for Google Apps Scripts.

palone- Автор вопроса
Pedro Aguiar
Oh man it's one of the great mysteries of humanity...

The wrappers I've seen wanted me to use either oauth (which i can't due to business requirements) or an service account keyfile

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта