# Push a connector's image

Source: https://docs.vlayers.ai/reference/hosting/mint-workspace-connector-registry-credential

`POST /v1/workspace-connectors/{name}/registry-credentials` · scope `workspace:write`

Mints a short-lived credential for pushing container images to your connector's repository in VoiceLayer's registry, and makes the connector if it does not exist yet; `voicelayer channel deploy` calls it for you. The credential lasts an hour, opens that repository and nothing else, and cannot place calls. The `password` is shown once.

Requires an API key with the `workspace:write` scope.

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `name` | path | string | yes | The connector name: the last part of `ws/<workspace>/<name>`. Example: `"telegram"` |

## Request

cURL:

```bash
curl -X POST "https://api.vlayers.ai/v1/workspace-connectors/$CONNECTOR_NAME/registry-credentials" \
  -H "Authorization: Bearer $VOICELAYER_API_KEY"
```

TypeScript:

```ts
import { VoiceLayer } from '@voicelayer/api';

const voicelayer = new VoiceLayer();

const { repository } = await voicelayer.hosting.mintWorkspaceConnectorRegistryCredential('<connector-name>', {

});
console.log(repository);
```

Python:

```python
from voicelayer import VoiceLayer

vl = VoiceLayer()

result = vl.hosting.mint_workspace_connector_registry_credential("<connector-name>")
print(result.repository)
```

## Response `201`

```json
{
  "registry": "registry.vlayers.ai",
  "repository": "0192f5a1-5e6f-7a7b-8c8d-9e0f1a2b3c45/0192f5c2-6f7a-7b9c-8d1e-2f3a4b5c6d78",
  "username": "vlayers",
  "password": "<shown once>",
  "keyId": "0192f5c1-5e6f-7a8b-9c0d-1e2f3a4b5c67",
  "expiresAt": "2026-10-20T15:04:05.000Z"
}
```
