Client Secret Renewal
To avoid service interruptions, regularly review the expiration dates of your application's client secrets and renew them before they expire.
SIGNIN to view your client secrets.
1. How to renew Client Secret
The Client Secret Key will need to be renewed every 6 months per the Avnet security policy. Here are the steps for the renewal.
SIGN IN to view your client secrets
Click the button "Create New Secret" to generate a new client secret
Securely copy and save the newly generated secret value
Update your applications to use the new secret value
After confirming that all applications are successfully using the new secret value, remove the old Client Secret
Important Notes:
Avnet API Portal allows up to 2 secret values to support the secret renewal
Client secret values cannot be viewed, except for immediately after creation. Be sure to save the secret when created before leaving the page
Always use the latest Client Secret
Store credentials securely
Please do not share your client secrets to any others
If you are integrated through a third-party provider, update the new secret there as well
Never share credentials through email or unsecured channels
Please well plan the switching between the old secret and new secret to avoid impact to your system during the renewal

2. How to renew Client Secret through an API (Developer Utility)
To support automation and integration workflows, the AVNET API Portal allows developers to renew Client Secrets programmatically via API.
Prerequisites:
1. You must have a valid Client Id and an existing Client Secret (If you don’t have a Client Secret yet, you can create one manually through the API Portal.)
2. You must have a valid Access Token.
API Endpoint:
https://apigw.avnet.com/external/clientsecret/{client_id}
Required Headers:
Authorization: Bearer <Access Token>
Code sample:
curl --location --request POST 'https://apigw.avnet.com/external/clientsecret/508*********************************' \
--header 'Authorization: Bearer ***'
Sample Response:
{
"statusMessage": "SecretCreated",
"secretDetail": {
"secretKeyId": "f182ed6c-18d7-4ed0-bc96-c56f1cff879c",
"secretStartDate": "6/25/2025 6:57:40 AM +00:00",
"secretEndDate": "12/25/2025 6:57:40 AM +00:00",
"secretKeyHint": "2So",
"secretText": "2So*************************************",
"displayName": "Secret_06252025_065740"
}
}
Error handling:
401: Unauthorized. Access token is missing or invalid.
Possible Reason: Access Token is empty/invalid/expired.
Solution: Regenerate a valid Access Token, please refer to the session 7. How to get Access Token.
400: Token client-id is mismatched with URL client-id: xxxxxx.
Possible Reason: The client id in the request URL doesn’t match with the client id you used to generate the Access Token.
Solution: Use same client id to generate the Access Token.
400: Can't create new secret, the maximum number of activated secrets (2) has been reached.
Possible Reason: Cannot create additional Client Secrets because a maximum of 2 active secrets are allowed per client at any given time.
Solution: Remove the unused Client Secret from the API Portal if it is no longer needed.
500: Internal server error.
Possible Reason: Internal server error.
Solution: Please contact API support from the Support page.
3. How to provide authentication components to a third-party
If you are connecting through a third-party provider, continue the integration process by sending the provider the required authentication components. These components are available on the Profile page after you log on to the Avnet API Portal: https://apiportal.avnet.com/profile
Primary Subscription Key (the Secondary Subscription Key is not required)
Client ID
Secret Key — Generate the Secret Key by clicking the “Create New Secret” button. The unmasked value will be visible only once. Be sure to save it before leaving the page. After you leave the page, the value will be permanently masked, and you will need to generate a new Secret Key if it is not captured.
Scope

4. Why Renew?
For security and operational purposes, API Client Secrets should be rotated periodically. In accordance with Avnet security policy, Client Secrets must be renewed every six (6) months.
Benefits:
Maintain uninterrupted API access
Improve security posture
Comply with Avnet security requirements
Reduce risk of credential compromise