The glue that you are referring to is called a PSA. PSA's are removable adhesives. They come in a wide variety. They are available as a hot melt (Like the credit card), or individual dots (more expensive but no equipment cost). Depending on your peel strength and substrates (materials that you are attaching) you will either have a High, medium or low tack.
I hope I've helped,
John