Her husband, Swizz Beatz, tells ESSENCE.com he posted the photo because he thought it was fitting for her to see just how beautiful she is.
"She's very shy about that stuff," he said at Samsung's Hope for Children Gala. "I'm like, [Alicia], you work hard, you can have fun too. Forget about what people say. You're beautiful inside and out, which is the most important thing."
"I'm proud of her for letting me do it," he added.
The 33-year-old hip-hop producer is known for posting photos declaring his love for his wife and family on Twitter.
A few messages after the steamy bikini photo, he shared another photo of a makeup-free Keys. "'007 on chill no makeup swag," he wrote.