Manage Secrets
A Secret contains credentials that a custom model uses to access a private model repository or container image registry. After creating a Secret, you can select it in the advanced settings for a custom model or a new Revision.
View the Secret list
- Go to AI Service > Advanced AI Space.
- Click Credentials > Secret.
| Item | Description |
|---|---|
| Name | The name identifying the Secret. |
| ID | The unique Secret ID. |
| Connected endpoints | The number of endpoints deploying a model that uses the Secret. |
| Type | The type selected when creating the Secret. |
| Created at | The date and time the Secret was created. |
Create a Secret
-
Click [Create Secret] in Credentials > Secret.
-
Enter a Secret name. Use 1–246 characters consisting of lowercase English letters, numbers, or hyphens (
-). The first and last characters must be lowercase English letters or numbers. -
Select a Secret type.
-
Enter the following credentials for the selected type.
Docker Registry
Item Description Registry URL The container image registry address, excluding https://.Username The username for accessing the registry, up to 255 characters. Access Token The token for accessing the registry. Email The email address for registry authentication (optional). HF Token
Enter a User Access Token issued by Hugging Face that starts with
hf_. -
Review the information and click [Create].
Apply a Secret to a custom model
- Create a custom model or create a new Revision.
- Select the Secret to use under Advanced settings > Secret.
- Complete the 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 Connected endpoints count in the Secret list is updated when a model using the Secret is actually deployed to an endpoint.
Delete a Secret
- Open the more options menu for the Secret you want to delete in Credentials > Secret.
- Click [Delete].
- Enter
영구 삭제in the deletion confirmation dialog. - Check the Secret name and connected endpoint count, then click [Delete].
Before deleting a Secret, check whether any custom model Revisions or connected endpoints use it.