Manage Secrets
A Secret is a credential that a custom model uses to access a private model or container image repository. After creating a Secret, select it in the advanced settings for a custom model or new revision.
View Secret list
- Go to AI Service > Advanced AI Space.
- Click Credentials > Secret.
| Item | Description |
|---|---|
| Name | Name identifying the Secret |
| ID | Unique Secret ID |
| Connected endpoint count | Number of endpoints deploying models that use the Secret |
| Type | Type selected when creating the Secret |
| Created at | Secret creation date and time |
Create Secret
-
In Credentials > Secret, click [Create Secret].
-
Enter a Secret name of 1–246 characters using lowercase letters, numbers, and hyphens (
-). The first and last characters must be lowercase letters or numbers. -
Select a Secret type.
-
Enter the following credentials for the selected type.
Docker Registry
Item Description Registry URL Container image repository address, excluding https://Username Repository username, up to 255 characters Access Token Repository access token Email Email for repository authentication (optional) HF Token
Enter a Hugging Face user access token that starts with
hf_. -
Review the information and click [Create].
Apply Secret to custom model
- Create a custom model or create a new revision.
- Select the Secret in Advanced settings > Secret.
- Complete model or revision creation.
You can select only one Secret of each type.
Applying a Secret to a new revision does not automatically update existing endpoints. Run Apply new version on the endpoint.
The Secret list's Connected endpoint count is updated when a model using the Secret is actually deployed as an endpoint.
Delete Secret
- In Credentials > Secret, open the more options menu for the Secret to delete.
- Click [Delete].
- Enter
Permanently deletein the confirmation dialog. - Check the Secret name and connected endpoint count, and then click [Delete].
Before deleting a Secret, check whether custom model revisions and connected endpoints use it.