Generate an API Key
Remember your username and API key. We will use it again with the JFrog CLI and to set up GKE to deploy your image.
- Go to your JFrog Platform instance at https://[server name].jfrog.io. Refer to your JFrog Free Subscription Activation email if needed. Substitute your server name.
![Activation Email](https://jfrogtraining.github.io/gcp-gke-workshop/images/email-jfrog-confirmation.png)
- Login to your JFrog Platform instance with your credentials.
![Login](https://jfrogtraining.github.io/gcp-gke-workshop/images/login.png)
- Once logged into your JFrog Platform instance, you will be presented with the landing page.
![Landing](https://jfrogtraining.github.io/gcp-gke-workshop/images/landing.png)
- Go to your profile and select Edit Profile.
![Edit Profile](https://jfrogtraining.github.io/gcp-gke-workshop/images/edit-profile.png)
- Enter your password and click Unlock to edit the profile.
- In the Authentication Settings section, click the gear icon to generate an API key.
![Api Key](https://jfrogtraining.github.io/gcp-gke-workshop/images/api-key.png)
- Copy the API Key.
- Click Save.
- We must set these credentials as environment variables to be used in the build later. Do that now with the following commands.
export JFROG_USER=<username/email>
export JFROG_API_KEY=<api key>
export JFROG_SERVER_NAME=<[server_name].jfrog.io>
![JFrog ENV VARS](https://jfrogtraining.github.io/gcp-gke-workshop/images/jfrog-env-vars.png)