Creating a Personal Access Token
- Sign in to the Azure Portal, then find and select your Azure Container Registry instance.
- Within your ACR instance, go to the Access keys section under Settings on the left-hand menu.
- Under Access keys, enable Admin user if it’s not already enabled. Then, click on Add token to start creating a new personal access token.
- Provide a name for your token, choose the appropriate scope (e.g., repository), and ensure the token has read permissions. Set an expiry date if needed.
- After configuring the token, click Create. Once the token is created, you will be provided with the username and password/token. Make sure to copy and securely store these details, as they will not be shown again.
Add the container registry credentials to Start Left
- Sign in to the Start Left Platform, then navigate to the Data Sources page.
- Click on the Azure Container Registry card to open the integration page.
- Enter the following details:
- Registry URL: The URL of your Azure Container Registry instance.
- Username: The username provided by the personal access token.
- Access Token: The password/token provided by the personal access token creation step above.
- Click Next.
- Add the container image [namespace]/[image name]:[tag] you want to scan.
- Click Save to add the integration.