Skip to main content

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​

  1. Go to AI Service > Advanced AI Space.
  2. Click Credentials > Secret.
ItemDescription
NameName identifying the Secret
IDUnique Secret ID
Connected endpoint countNumber of endpoints deploying models that use the Secret
TypeType selected when creating the Secret
Created atSecret creation date and time

Create Secret​

  1. In Credentials > Secret, click [Create Secret].

  2. 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.

  3. Select a Secret type.

  4. Enter the following credentials for the selected type.

    Docker Registry

    ItemDescription
    Registry URLContainer image repository address, excluding https://
    UsernameRepository username, up to 255 characters
    Access TokenRepository access token
    EmailEmail for repository authentication (optional)

    HF Token

    Enter a Hugging Face user access token that starts with hf_.

  5. Review the information and click [Create].

Apply Secret to custom model​

  1. Create a custom model or create a new revision.
  2. Select the Secret in Advanced settings > Secret.
  3. 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​

  1. In Credentials > Secret, open the more options menu for the Secret to delete.
  2. Click [Delete].
  3. Enter Permanently delete in the confirmation dialog.
  4. 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.