Avoid Secrets in your Azure Cognitive Service Code (Python Tutorial)

CognitiveFaceApiUrl= https://<your_accunt>.cognitiveservices.azure.comCognitiveFaceKey = <your_key>
first iteration with API keys (we don’t want that)
kubectl apply -f pod.yaml
kubectl logs -f face

--

--

--

Senior Software Engineer at Microsoft ✰ Kubernetes and DevOps ✰ CKAD Certified

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Cloud abstraction on Datacenters using VMware HCX

Creating a fullstack React/Material-UI DataGrid frontend data grid of users connected to a Java…

A Dockerfile Example

CakePHP 4 What is Mutator & Why Application Uses?

What is future statement in python and how it is used?

Documenting Our Micronaut v2 Applications With Swagger

AWS Scalable Mobile Application Development Architecture for Startups

How a simple hello world in C can fuck you up your day.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tomer Shaiman

Tomer Shaiman

Senior Software Engineer at Microsoft ✰ Kubernetes and DevOps ✰ CKAD Certified

More from Medium

Creating and publishing PowerShell Modules to Azure Artifacts with Azure DevOps YAML Pipelines

Foundations in Azure DevOps YAML pipelines

Build Azure DevOps Pipelines for Dynamics 365 CRM

Bulk import Azure AD Groups