Srimad Bhagavatam Canto 10, Chapter 01, Text 57

SB 10.1.57

kirtimantam prathamajam
 kamsayanakadundubhih
arpayam asa krcchrena
 so ’nrtad ativihvalah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Vasudeva was very much disturbed by fear of becoming a liar by breaking his promise. Thus with great pain he delivered his first-born son, named Kirtiman, into the hands of Kamsa.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
In the Vedic system, as soon as a child is born, especially a male child, the father calls for learned brahmanas, and according to the description of the child’s horoscope the child is immediately given a name. This ceremony is called nama-karana. There are ten different samskaras, or reformatory methods, adopted in the system of varnasrama-dharma, and the name-giving ceremony is one of them. Although Vasudeva’s first son was to be delivered into the hands of Kamsa, the nama-karana ceremony was performed, and thus the child was named Kirtiman. Such names are given immediately after birth.
Srimad Bhagavatam Canto 10, Chapter 01, Text 56
Srimad Bhagavatam Canto 10, Chapter 01, Text 58