You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Our agent would leverage some third party API, but we don't want to hard code these API keys in the code. We would like to be able to supply the keys using environment variables for best security practice
Describe the solution you'd like
We would like to be able to supply the keys using environment variables for best security practice
Describe alternatives you've considered
Hard-coding the API keys and credentials
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hi @darrenchiu! The recommended way to handle this is to use Secret Manager within a given Python function / tool, which will allow the secret to be securely retrieved by the deployed Reasoning Engine agent. You can implement this within your tool(s) using the sample code shown at https://cloud.google.com/secret-manager/docs/access-secret-version. Let me know if that approach works for you or if you run into any issues. This is also something I can pass to the Reasoning Engine team that we can write up more thoroughly in our documentation and sample notebooks.
Is your feature request related to a problem? Please describe.
Our agent would leverage some third party API, but we don't want to hard code these API keys in the code. We would like to be able to supply the keys using environment variables for best security practice
Describe the solution you'd like
We would like to be able to supply the keys using environment variables for best security practice
Describe alternatives you've considered
Hard-coding the API keys and credentials
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: