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-cloud-profile">
|
---|
4 | <title>Creating a Cloud Profile</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> uses a <i>cloud profile</i> to connect to <ph
|
---|
8 | conkeyref="vbox-conkeyref-phrases/oci"/>. A cloud profile is a text file that contains details of your key files
|
---|
9 | and Oracle Cloud Identifier (OCID) resource identifiers for your cloud account, such as the following: </p>
|
---|
10 | <ul>
|
---|
11 | <li>
|
---|
12 | <p><b outputclass="bold">Fingerprint of the public
|
---|
13 | key.</b> To obtain the fingerprint, you can use the
|
---|
14 | <userinput>openssl</userinput> command:
|
---|
15 | </p>
|
---|
16 | <pre xml:space="preserve">$ openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -c</pre>
|
---|
17 | </li>
|
---|
18 | <li>
|
---|
19 | <p><b outputclass="bold">Location of the private key on the
|
---|
20 | client device.</b> Specify the full path to the
|
---|
21 | private key.
|
---|
22 | </p>
|
---|
23 | </li>
|
---|
24 | <li>
|
---|
25 | <p><b outputclass="bold">(Optional) Passphrase for the private
|
---|
26 | key.</b> This is only required if the key is
|
---|
27 | encrypted.
|
---|
28 | </p>
|
---|
29 | </li>
|
---|
30 | <li>
|
---|
31 | <p><b outputclass="bold">Region</b>. Shown on the <ph conkeyref="vbox-conkeyref-phrases/oci"/>
|
---|
32 | Console. Click
|
---|
33 | <b outputclass="bold">Administration</b>,
|
---|
34 | <b outputclass="bold">Tenancy Details</b>.
|
---|
35 | </p>
|
---|
36 | </li>
|
---|
37 | <li>
|
---|
38 | <p><b outputclass="bold">Tenancy OCID.</b> Shown on the
|
---|
39 | <ph conkeyref="vbox-conkeyref-phrases/oci"/> Console. Click
|
---|
40 | <b outputclass="bold">Administration</b>,
|
---|
41 | <b outputclass="bold">Tenancy Details</b>.
|
---|
42 | </p>
|
---|
43 | <p>
|
---|
44 | A link enables you to copy the Tenancy OCID.
|
---|
45 | </p>
|
---|
46 | </li>
|
---|
47 | <li>
|
---|
48 | <p><b outputclass="bold">Compartment OCID.</b> Shown on
|
---|
49 | the <ph conkeyref="vbox-conkeyref-phrases/oci"/> Console. Click
|
---|
50 | <b outputclass="bold">Identity</b>,
|
---|
51 | <b outputclass="bold">Compartments</b>.
|
---|
52 | </p>
|
---|
53 | <p>
|
---|
54 | A link enables you to copy the Compartment OCID.
|
---|
55 | </p>
|
---|
56 | </li>
|
---|
57 | <li>
|
---|
58 | <p><b outputclass="bold">User OCID.</b> Shown on the
|
---|
59 | <ph conkeyref="vbox-conkeyref-phrases/oci"/> Console. Click
|
---|
60 | <b outputclass="bold">Profile</b>,
|
---|
61 | <b outputclass="bold">User Settings</b>.
|
---|
62 | </p>
|
---|
63 | <p>
|
---|
64 | A link enables you to copy the User OCID.
|
---|
65 | </p>
|
---|
66 | </li>
|
---|
67 | </ul>
|
---|
68 | <p>
|
---|
69 | You can create a cloud profile in the following ways:
|
---|
70 | </p>
|
---|
71 | <ul>
|
---|
72 | <li>
|
---|
73 | <p>Automatically, by using the <b outputclass="bold">Cloud Profile Manager</b>. See <xref
|
---|
74 | href="cloud-using-cloud-profile-manager.dita#cloud-using-cloud-profile-manager"/>. </p>
|
---|
75 | <p>The Cloud Profile Manager is a <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/> tool that enables you to
|
---|
76 | create, edit, and manage cloud profiles for your cloud service accounts. </p>
|
---|
77 | </li>
|
---|
78 | <li>
|
---|
79 | <p>Automatically, by using the <userinput>VBoxManage cloudprofile</userinput> command. See <xref
|
---|
80 | href="vboxmanage-cloudprofile.dita"/>. </p>
|
---|
81 | </li>
|
---|
82 | <li>
|
---|
83 | <p>Manually, by creating an <filepath>oci_config</filepath> file in your <ph
|
---|
84 | conkeyref="vbox-conkeyref-phrases/product-name"/> global configuration directory. For example, this is
|
---|
85 | <filepath>$HOME/.config/VirtualBox/oci_config</filepath> on a Linux host. </p>
|
---|
86 | </li>
|
---|
87 | <li>
|
---|
88 | <p>Manually, by creating a <filepath>config</filepath> file in your <ph conkeyref="vbox-conkeyref-phrases/oci"/>
|
---|
89 | configuration directory. For example, this is <filepath>$HOME/.oci/config</filepath> on a Linux host. </p>
|
---|
90 | <p>This is the same file that is used by the <ph conkeyref="vbox-conkeyref-phrases/oci"/> command line
|
---|
91 | interface. </p>
|
---|
92 | <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> automatically uses the <filepath>config</filepath> file
|
---|
93 | if no cloud profile file is present in your global configuration directory. Alternatively, you can import this
|
---|
94 | file manually into the Cloud Profile Manager. </p>
|
---|
95 | </li>
|
---|
96 | </ul>
|
---|
97 | </body>
|
---|
98 |
|
---|
99 | </topic>
|
---|