You may be missing permissions in access policy to do that operation.
Azure Key Vault returned AccessDenied because the caller does not currently have sufficient permission to perform the requested operation. This most commonly happens when access policy or role assignments do not include the required secret, key, or certificate permissions.