Is this secure? Will I get the keys or whatever they're called? I don't want to send in my passport because Coinbase has already been hacked once already from what I know.
yes, you will hold the private keys if your coins are on in a wallet. MAKE sure you write down your seed phrase(16 or 24 words auto generated when you set up the wallet) you can use it to recover your coins if you lose your password/login/device. stressing again write it down and keep in a safe place offline(waterproof ect).
Ive never had a problem purchasing on coinbase, just the ridiculous wait time, but that is being phased out. As a newbie purchasing there is very simple, just move the coins to a wallet as soon as possible, also set up 2FA- (2 factor authentication, either a text you receive or even better through google authenticator) for any exchange you use. I havent used localbitcoins myself, but i have used a bitcoin ATM at one of the casinos, fees were outrageous. Equifax can get hacked and wells fargo steals money out right, coinbase seems safe for purchasing, just dont keep you coins there.