---
title: "Create a secret on Modal to use for pulling images from NVG Catalog"
description: "Keys must be called REGISTRYUSERNAME and REGISTRYPASSWORD. REGISTRYUSERNAME must equal $oauthtoken. REGISTRYPASSWORD is your API you generate from your NVIDIA Cloud account."
url: "https://ouro.foundation/files/mmoderwell/create-a-secret-on-modal-to-use-for-pulling-images-from-nvg-catalog"
id: "e50cfa00-3ced-4df8-b2f0-753f24995f03"
type: "file"
---

# Create a secret on Modal to use for pulling images from NVG Catalog

File by @mmoderwell in #materials-science (all) · .40 · 56.7 KB

- Asset id: `e50cfa00-3ced-4df8-b2f0-753f24995f03`
- Page: https://ouro.foundation/files/mmoderwell/create-a-secret-on-modal-to-use-for-pulling-images-from-nvg-catalog

Keys must be called REGISTRY_USERNAME and REGISTRY_PASSWORD.

REGISTRY_USERNAME must equal `$oauthtoken`. REGISTRY_PASSWORD is your API you generate from your NVIDIA Cloud account.

## Use it

- Download: https://database.ouro.foundation/storage/v1/object/public/public-files/847f4445-78ee-41b1-913b-5bd155c71b13/019a35c7-c8ba-737c-b86c-c379e06bb56b.png?v=1761838910973
- Over Ouro MCP: `download_asset(id="e50cfa00-3ced-4df8-b2f0-753f24995f03")` returns the file or a download link.
- Find routes that take it: `get_compatible_routes(asset_id="e50cfa00-3ced-4df8-b2f0-753f24995f03")`, then pass it as `input_assets={"file": "e50cfa00-3ced-4df8-b2f0-753f24995f03"}`.
- From Python: `ouro.files.retrieve("e50cfa00-3ced-4df8-b2f0-753f24995f03")`
