Compute ServiceCreate an endpoint from an existing container
Setting up account-wide secrets for your custom endpoints
Contact us at customer-success@octo.ai to request access to the Compute Service.
When creating a new endpoint from your custom containers, you may wish to mount your account-wide secrets onto your container, such as database secrets. Simply click the Select secret(s) dropdown when creating a new endpoint, and then the + sign next to New Secret.
![](https://www.datocms-assets.com/45680/1711726387-new-secret.png?max-w=2000&auto=compress)
That would bring up a modal in which you can specify a key and a value for the secret. For example, if you create secret with key foo
whose value is bar,
you will get a variable foo
whose value is bar
mounted to the container.
![](https://www.datocms-assets.com/45680/1711726372-add-secret.png?max-w=2000&auto=compress)
Note that this flow currently cannot access a database that is in a private VPC. Please contact us if you have a private database you wish to access.