Creating OCI SHA-256 Keys (SSH/API access)

By | April 17, 2019

Having delivered a few OCI workshops, I noticed that a lot of people struggle creating the correct SHA-256 key pairs. If you want to connect to a linux console using SSH, you need to specify SSH keys. If you want to use the OCI APIs, CLI or my OCI iPhone APP you need a different format of keys.

You can find details on creating SSH keys here:
https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingkeypairs.htm

If you do not want to bother creating keys yourself, I have created a simple ‘key service’ ๐Ÿ™‚ The service creates, in memory only, one pair of keys in the SSH format and one pair of keys for API usage (PEM format). This is then send to you in a ZIP file. This ZIP file is never stored on the central server.

Request OCI Key ZIP file:
Get your UNIQUE OCI keys

If you are interested in how this service was made, you can find the source code on my github page:
https://github.com/AnykeyNL/OCI_Keys

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.