How to download Google Compute engine ssh private key? - google-compute-engine

how do you download the key as a ppk file to use on filezilla or another ftp program? there seems to be a lot of questions on how to do this, and I have not been able to figure it out... since I have the text of the key (from google cloud metadata), is there a way to copy/paste it into a txt file and then save it as a ppk??

There should not be a private key in Compute Engine metadata. Google does not create a key for you.
Instead, create a new key and add the public key to the metadata. It will then be downloaded to your instance and you can use the private key you just generated to connect to the instance. Instructions to do this are at https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys.

Related

How do I hide my API Key in Chrome Extension?

I am going to be using youtube API and will need to use a key, but publishing the key would just give it access to all users. How can I hide it? After doing some research I learned that I can create a web server and use that to capture the key? I am new to web server and know little about them? How can I go about creating such server that provides me with a key on request and will the user be able to also call that request if they look around the code?

Google map not working after publishing app on play store

I published app three days before, The map was working before, but now map stopped working. I added the SHA1 key in the google console. Do I need to create 2 different API key for debug and release?
Now while I am checking the un-signed app, the map is not working.
You need another API key for your release build if you want to restrict it (which is strongly recommended), because you'll need to get the SHA-1 fingerprint for your release certificate. The debug one won't work.
You can follow the instructions from Google's documentation.
Also make sure that your API key is set in your google_maps_api.xml file within your release folder and in your AndroidManifest.xml file.
Hope this helps.

What can I do if I lose my Chrome extension private key?

The hard drive where I stored the private key (needed for uploading to the Chrome Web Store) got erased. Is my only option to delete the extension from the Web Store and recreate it? Any tips for salvaging what I have?
Yes, I'm aware it was stupid not to keep a backup of my key.
The only moment when including a key has any effect is the first time you upload your extension to the Chrome Web Store, as that will determine the extension ID. After that, you don't need a private key to update your extension.

LOST .p12 key for Air Published App in Google Play- Can I create same finger print?

I reformatted my drive. Saved all but somehow the p12 is gone.
I tried uploading my .apk to Google Play, an existing app, signed with a new .p12
key and this is the error I get in the image.
Is there a way to make a new .p12 using the numbers they showed me?
Or can I abstract my old .p12 from an app I already uploaded and have copies
of?
Thank you for any advice in this matter.
You can't create a p12 like this, but you can try "migrate" the app to a new certificate, like described here
I never actually tried this, though, so good luck!

What site do you specify when applying for key to google maps?

I may be dim, but I really don't know what to answer when google asks me for a URL when asking for a key for google maps.
I mean, I'm on my laptop, with no internet dns entry developing the solution in visual studio, so what do i tell google? localhost? The domain name I know the site will end up on? my laptops name?
Use the key which will correspond to the name of the server in the URL. I've used both localhost and the name of the laptop on local network.
Change to a different key on the production server.
I have always set up the API key to represent the sites future URL. I have seen no issues with using the API key on localhost that was setup for domainname.com, but that may be related to the subset of the Google Map APIs that I utilize. I would use your site's final URL when you set up the key for Google Maps.