Julie Ullah, 63, of Heol Hartrey, Dinas Powys, was sentenced to two years and eight months in prison at Cardiff Crown Court after pleading guilty to possession with intent to supply a class A drug.
Ullah was found with cocaine on June 16 in Dinas Powys.
No surcharge was applied due to a proceeds of crime order being sought.
The case was prosecuted by Tabitha Walker, with Alex Granville representing the defence.
Ullah was locked up by Judge Shomon Khan.
