VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/cloud-create-api-keypair.dita@ 105791

Last change on this file since 105791 was 105791, checked in by vboxsync, 6 months ago

Docs: bugref:10705. The following commits from doc's team git repo has been applied:

d40098418df3fbc310fa4e93692ad5af4d2afd8f Included review feedback from several reviewers, in several sections.
2676d3ef92e6e59b3b7e621a54f36e3820abc179 Merge branch 'VBP-724_Sergei_Feedback' into 'main'
3f3d0dd31d4651a1493b2b7344abec67c651e140 Updated title and wording to remove legacy
ed2f96ee6d74df775f14e27b9a22dfa90a163248 Merge branch 'VBP-844' into 'main'
027d54cc9407cb6c3127a2755f694d90f51caeee Updated host operating systems and added matrix of host and guest combos VBP-715
0198e7b29d83e90400d1f28209d658d7b9f3f2c9 Draft relnotes to start reviewing
03a9607c51487ca52cc9e679dfa604f1810756ea Copied over latest change log
3faf30c5fb864b72a617cbd98dca7b8722168cb7 Merge branch 'Change_log_update' into 'main'
1e0c0fd0ddf10251ec657b26ed2de708ef37cf0e Removed accessibility features documentation section from release notes. Not required.
dfd0067d47ee60d25a793b53324d343c7d5e90ea Removed deleted accessibility files from ditamap
5161634d4d02d91c333fbe890ed479691417a8ab Updates to wording around Arm hosts and guests
21bb36812315e246b9221b8a562381bb19df3a83 Merge branch 'Simon_relnotes_input' into 'main'

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="cloud-create-api-keypair">
4 <title>Creating an API Signing Key Pair</title>
5
6 <body>
7 <p>To use the cloud integration features of <ph conkeyref="vbox-conkeyref-phrases/product-name"/>, you must generate
8 an API signing key pair that is used for API requests to <ph conkeyref="vbox-conkeyref-phrases/oci"/>. </p>
9 <p>Your API requests are signed with your private key, and <ph conkeyref="vbox-conkeyref-phrases/oci"/> uses the
10 public key to verify the authenticity of the request. You must upload the public key to the <ph
11 conkeyref="vbox-conkeyref-phrases/oci"/> Console. </p>
12 <note>
13 <p>
14 This key pair is not the same SSH key that you use to access
15 compute instances on <ph conkeyref="vbox-conkeyref-phrases/oci"/>.
16 </p>
17 </note>
18 <ol>
19 <li>
20 <p>(Optional) Create a <filepath>.oci</filepath> directory to store the key pair. </p>
21 <pre xml:space="preserve">$ mkdir ~/.oci</pre>
22 <p>The key pair is usually installed in the <filepath>.oci</filepath> folder in your home directory. For
23 example, <filepath>~/.oci</filepath> on a Linux system. </p>
24 </li>
25 <li>
26 <p>Generate the private key. </p>
27 <p>Use the <codeph>openssl</codeph> command. </p>
28 <ul>
29 <li>
30 <p> To generate a private key with a passphrase (prompt for passphrase): </p>
31 <pre xml:space="preserve">$ openssl genrsa -out ~/.oci/oci_api_key.pem -aes256 2048 </pre>
32 </li>
33 <li>
34 <p> To generate a private key with a passphrase entered on the command line as an argument:</p>
35 <pre xml:space="preserve">$ openssl genrsa -aes256 -passout pass:user_passphrase -out ~/.oci/oci_api_key.pem 2048</pre>
36 </li>
37 <li>
38 <p>
39 To generate a private key without a passphrase:
40 </p>
41 <pre xml:space="preserve">$ openssl genrsa -out ~/.oci/oci_api_key.pem 2048</pre>
42 </li>
43 </ul>
44 </li>
45 <li>
46 <p>Change permissions for the private key. </p>
47 <pre xml:space="preserve">$ chmod 600 ~/.oci/oci_api_key.pem</pre>
48 <p>Generate the public key. </p>
49 <pre xml:space="preserve">$ openssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem</pre>
50 <p>Enter the passphrase when prompted, if you set one.</p>
51 </li>
52 </ol>
53 </body>
54
55</topic>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette