How do i get my ":identifier" and "X-Auth-Key:" to use the api

I want to create a script to update my dns record automatically using the api, but i can’t seem to find where i get the “:identifier” and “X-Auth-Key:”. can someone help me find the location for ther keys and identifers to use in the api?