Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes how to use Azure API Center to register agent skills as part of your API inventory. Skills are reusable capabilities that AI agents can discover and consume to extend their functionality.
Note
Registering skills in API Center is currently in preview.
By registering skills in your API center, you create a centralized registry that helps your organization:
- Discover available skills and their capabilities
- Access source code and documentation for the skills
Prerequisites
- An API center. If you don't have an API center yet, see the quickstart to Create an API center.
- One or more skills that you want to register, typically hosted in a source code repository such as GitHub.
- For integration with a Git repository for continuous synchronization of skill information (optional):
For non-public repositories, a personal access token (PAT) to access the repository where your skill information is stored. The PAT must have appropriate permissions to read the repository content. To create a PAT for GitHub, see Create a fine-grained personal access token.
An Azure key vault to store a PAT. If you need to create one, see Quickstart: Create a key vault using the Azure portal. To add or manage secrets in the key vault, you need at least the Key Vault Secrets Officer role or equivalent permissions.
For Azure CLI:.
Use the Bash environment in Azure Cloud Shell. For more information, see Get started with Azure Cloud Shell.
If you prefer to run CLI reference commands locally, install the Azure CLI. If you're running on Windows or macOS, consider running Azure CLI in a Docker container. For more information, see How to run the Azure CLI in a Docker container.
If you're using a local installation, sign in to the Azure CLI by using the az login command. To finish the authentication process, follow the steps displayed in your terminal. For other sign-in options, see Authenticate to Azure using Azure CLI.
When you're prompted, install the Azure CLI extension on first use. For more information about extensions, see Use and manage extensions with the Azure CLI.
Run az version to find the version and dependent libraries that are installed. To upgrade to the latest version, run az upgrade.
Note
You can run Azure CLI command examples in this article in PowerShell or a bash shell. Where needed because of different variable syntax, separate command examples are provided for the two shells.
Register a skill
To register a skill in your API center:
Sign in to the Azure portal and go to your API center.
In the sidebar menu, under Inventory, select Assets.
Select + Register an asset > Skill.
In the Register a skill form, provide the information in the following table:
Field Description Title Enter a descriptive name for the skill (for example, Code Review Skill). Identification API Center automatically generates an identifier based on the title (for example, code-review-skill). You can edit this if needed. Summary Provide a brief one-line description of what the skill does (for example, Performs automated code reviews using static analysis). Description Enter a more detailed description of the skill's capabilities, use cases, and behavior. Lifecycle stage Select the current stage of the skill's lifecycle from the dropdown menu. Source Source URL Enter the Git repository URL for the skill source code (for example, https://github.com/<org>/<repo>/tree/main/skills/<skill-name>).Compatibility Describe the requirements, dependencies, and prerequisites for using the skill (for example, required software or tools like git, docker, programming languages; system requirements; network access requirements; API keys or authentication requirements). Allowed tools Select + Add tool to specify the APIs or MCP servers from your API inventory that this skill can access. This approach helps ensure proper governance and security by explicitly defining what resources the skill can consume. License Select + Add to provide licensing information. Enter the license name (for example, MIT, Apache 2.0, or Proprietary), optionally provide a license URL, and add a description if needed to clarify licensing terms or restrictions. Contact information Select + Add to add contact points for support or inquiries. Enter a contact name or role (for example, API Team or John Smith), provide contact details such as email address, and optionally add a description to clarify when and why to contact this person or team. Select Create to register the skill in your API center.
After registration, the skill appears in your inventory on the Inventory > Assets page.
Update a registered skill
You can update skill information at any time:
- In your API center, go to Inventory > Assets.
- Find and select the skill you want to update.
- Select Edit to modify the skill's properties.
- Make your changes and select Save.
Integrate a Git repository to synchronize skills
To automate skill registration and updates, integrate a Git repository with your API center. By using this integration, you can synchronize information about one or more skills from the repository to your API center inventory.
When you integrate a Git repository:
- Your API center creates an environment that represents the repository as a source of skills.
- API Center regularly synchronizes skill information from the repository to your API center inventory.
Store PAT in Azure Key Vault
If your Git repository is private, manually upload and securely store a PAT to Azure Key Vault that grants access to the repository. When you integrate the Git repository with your API center, configure the integration to use this secret.
For more information, see Quickstart: Set and retrieve a secret from Azure Key Vault using the Azure portal.
If you don't need to configure a PAT, proceed to integrate the Git repository with your API center.
Configure a managed identity for your API center
Your API center uses a managed identity to authenticate to Azure Key Vault and retrieve the PAT needed to access the Git repository. The following procedures describe how to manually configure a managed identity for your API center and assign it the necessary permissions to access the Key Vault.
If you don't configure the managed identity, API Center can configure it for you automatically when you integrate the Git repository.
For this scenario, your API center uses a managed identity to access Azure resources. Depending on your needs, enable either a system-assigned or one or more user-assigned managed identities.
The following examples show how to enable a system-assigned managed identity by using the Azure portal or the Azure CLI. At a high level, configuration steps are similar for a user-assigned managed identity.
- In the portal, go to your API center.
- In the sidebar menu, under Security, select Managed identities.
- Select System assigned, and set the status to On.
- Select Save.
Assign the managed identity the Key Vault Secrets User role
To allow import of the assets, assign your API center's managed identity the Key Vault Secrets User role in your Azure key vault. You can use the portal or the Azure CLI.
- In the portal, go to your key vault.
- In the sidebar menu, select Access control (IAM).
- Select + Add role assignment.
- On the Add role assignment page, set the values as follows:
- On the Role tab, select Key Vault Secrets User.
- On the Members tab, in Assign access to - Select Managed identity > + Select members.
- On the Select managed identities page, select the system-assigned managed identity of your API center that you added in the previous section. Click Select.
- Select Review + assign.
Integrate a Git repository
To integrate a Git repository:
In the Azure portal, go to your API center.
In the sidebar menu, select Platforms > Integrations.
Select + New integration and choose From Git repository.
On Integrate your Git repository, provide the following information:
Field Description Configure Git repository source Repository URL Enter the URL to the Git repository containing skill files, optionally specifying branch and subfolder (for example, https://github.com/<org>/<repo>/tree/main/skills).Git provider Select the provider (for example, GitHub). Asset type configuration API Center configures a default skill asset type with file pattern **/skill.md.
Select + Add asset type to add one or more asset types to sync.Personal access token (PAT) If you have a PAT stored in Azure Key Vault, click Select to browse to the Key Vault secret.
Optionally select Automatically configure managed identity and assign permissions if you haven't manually configured a managed identity to access the key vault secret.Integration details Accept the generated link identifier or provide a custom ID for the integration link. Environment details Environment title Enter a friendly name for the repository environment (for example, Git repository). Identification Enter an environment resource name (for example, git-repository). Environment type Select the environment type (for example, Production). Description Optionally add a description for the environment. Asset details Lifecycle Select the lifecycle stage for assets synced from the repository (for example, Design). Select Create.
The portal adds the environment to your API center. The portal adds the skills from the repository to the API center inventory on the Inventory > Assets page. You can identify linked skills by the link icon in the list.
Discover skills in the API Center portal
Set up your API Center portal so that developers and other stakeholders in your organization can discover skills in your API inventory. From the API Center portal, users can:
- Browse and filter skills in the inventory.
- View detailed information about each skill.