If you want to use Google Maps in your Xamarin.Android app, you will need to obtain an API key. It’s easy to generate an API Key, but we will also want to restrict it’s usage, so that only your app can use it. This alleviates the security concern of placing the API Key in your app, and someone taking it for their own use.
To get an API key: Visit the Google Cloud Platform Console. Click the project drop-down and select or create the project for which you want to add an API key. Click the menu button and select APIs & Services Credentials. On the Credentials page, click Create credentials API key.
This is your API key that you can use in your Android app.
In your AndroidManifest.xml file, inside the application tag, place your API Key.
This API Key is now available, but can be used with anyone who has access to it. If you are using it Server side, then the security issues aren’t too great. However, if you need to distribute this with your app, then it is best to restrict this, so only your app can use it.
We first need to generate a fingerprint. This is done via the command or terminal line. And is in this format.
Another case where you don't want to provide the password of the repository everytime you do git pull or git clone, are automatized deployments.That's why the the 'deployment keys' feature exist in Gitlab, A deploy key is an SSH key that is stored on your server and grants access to a single Gitlab repository. When you work with a Git repository, your project may be actively modified by a lot of people. Some of them may not be trustworthy as they may be new employees or something like that. In this case, if they need to do git pull in the server to update the changes of a commit in your production server, you may not want that everybody knows the password of the repository.
For windows, you will find the debug values for your keystore here, and the default path for the Java SDK. You will need to go to this path, in the commandline to run the keytool.
For a Mac, they will be as follows.
The debug values you will also want are
Here is an example, for myself in Windows.
The example output, you will get is.
What you want is the SHA-1 signature. Coreldraw graphics suite x7 key generator.
Now, lets go back to the developer console.
Please note, that this has shown you how to do it, for a debug version. Create a new Fingerprint, against your production Keystore, before you deploy this to the PlayStore.