conv.utils.get_secret() for that secret.
Managing access
Open the secret
From the workspace homepage, click the Secrets tab in the top bar, then click the secret you want to configure.
Edit agent access
Scroll to the Agent access section. You will see a list of all agents in your account.
Select agents
Check the box next to each agent that should be able to retrieve this secret. Uncheck any agents that no longer need access.
Principle of least privilege
Grant access only to agents that require a specific secret for their functions. For example, if only your booking agent calls the reservations API, only that agent should have access to thereservations_api_key secret.

