🔥 3-day streak
Professional Machine Learning Engineer157 / 166
Question 157 of 166
Your team runs a Vertex AI Pipeline that trains a model and then calls an external third-party API to register the resulting model artifact. The API requires a secret token. During code review, a colleague notices the token is currently hard-coded as a default value in a pipeline component's Python function signature and is therefore compiled into the pipeline YAML stored in a shared Artifact Registry. What is the most secure and maintainable way to provide this token to the component at runtime?
Reviewed for accuracy · Report an issueNext question