These steps can be used to generate a private key and that can then be used it to sign a file in your bucket:
- Generate a new private key, or use an existing private key. The key can be in either JSON or PKCS12 format:
- Click on the hamburger in the top left of the console and navigate to API & Services and then click on Credentials
- Click on Create Credentials and select Service account key
- In the drop down for Service Account, select New service account
- Give a name for the service account under Service account name
- Use the default Service account ID or specify one
- Choose JSON or P12 as your Key type and click Create
- A dialog will confirm the creation of your service account and the private key is ...