{"id":3798,"date":"2018-09-17T18:47:43","date_gmt":"2018-09-17T21:47:43","guid":{"rendered":"https:\/\/www.dbarj.com.br\/?p=3798"},"modified":"2018-09-18T10:35:45","modified_gmt":"2018-09-18T13:35:45","slug":"creating-a-read-only-user-in-oracle-cloud-infrastructure","status":"publish","type":"post","link":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/","title":{"rendered":"Creating a read-only user in Oracle Cloud Infrastructure"},"content":{"rendered":"<p>Creating a read-only user for OCI access is useful if you want to give your auditors or external providers only read privileges on all your Infrastructure resources or if you want to run oci-cli tool in a secure mode, with guarantee that no changes will happen in your Oracle Cloud Infrastructure.<\/p>\n<p>In this article I will show how to create a user with read-only minimum privileges and assign it to<strong> oci-cli<\/strong> tool.<\/p>\n<p>Let&#8217;s start. Connect in you Oracle Cloud Infrastructure web console with a administrator user.<\/p>\n<h4>1. Create User.<\/h4>\n<p>First step is to create a new read-only user. Go to <strong>Menu -&gt; Identity -&gt; Users<\/strong> and click &#8220;<strong>Create User<\/strong>&#8220;.<\/p>\n<p id=\"EISVEUB\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3801 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-230x300.png\" alt=\"\" width=\"230\" height=\"300\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-230x300.png 230w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-768x1002.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-785x1024.png 785w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d.png 944w\" sizes=\"auto, (max-width: 230px) 100vw, 230px\" \/><\/p>\n<p>Give the user a <strong>Name<\/strong> and a <strong>Description<\/strong>.<\/p>\n<p id=\"ahuTeSp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3803 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0174153f2e-300x295.png\" alt=\"\" width=\"300\" height=\"295\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0174153f2e-300x295.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0174153f2e-768x754.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0174153f2e-1024x1006.png 1024w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0174153f2e.png 1228w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h4>2. Create Group.<\/h4>\n<p>In OCI, privileges are given to a group, not an user. So you must create a new group to place this account and later we will give the list accesses to the group.<\/p>\n<p>Go to <strong>Menu -&gt; Identity -&gt; Group<\/strong> and click &#8220;<strong>Create Group<\/strong>&#8220;.<\/p>\n<p>Give the group a <strong>Name<\/strong> and a <strong>Description<\/strong>.<\/p>\n<p id=\"fhGcGps\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3806 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0188c51535-300x298.png\" alt=\"\" width=\"300\" height=\"298\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0188c51535-300x298.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0188c51535-150x150.png 150w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0188c51535-768x763.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0188c51535-1024x1017.png 1024w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0188c51535.png 1228w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h4>3. Create Policy.<\/h4>\n<p>Now let&#8217;s create the policies (or permissions) and assign it to the group.<\/p>\n<p>Go to <strong>Menu -&gt; Identity -&gt; Policies<\/strong>.<\/p>\n<p><strong><span style=\"color: #800000;\">Before clicking in &#8220;Create Policy&#8221;, ensure you are in the root compartment (right panel).<\/span><\/strong><\/p>\n<p id=\"CbOhQRA\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3808 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0194a35be4-118x300.png\" alt=\"\" width=\"118\" height=\"300\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0194a35be4-118x300.png 118w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0194a35be4-403x1024.png 403w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba0194a35be4.png 450w\" sizes=\"auto, (max-width: 118px) 100vw, 118px\" \/><\/p>\n<p>Click &#8220;<strong>Create Policy<\/strong>&#8221; and give the policy\u00a0a <strong>Name,<\/strong>\u00a0<strong>Description.<\/strong><\/p>\n<p>Now it&#8217;s time to assign policies to the rule. You have 2 ways to go here:<\/p>\n<p><span style=\"color: #0000ff;\"><strong>A.<\/strong> <\/span>If you want to give <span style=\"color: #800000;\"><strong>read<\/strong><\/span> access to ALL resources, you can simply add the statement:<\/p>\n<p style=\"padding-left: 30px;\">\u2022 Allow group <strong>group_name<\/strong> to read all-resources in tenancy<br \/>\n<span style=\"font-size: 10pt;\"><em>* Change\u00a0group_name to the one assigned in step 2.<\/em><\/span><\/p>\n<p><strong><span style=\"color: #0000ff;\">B.<\/span> <\/strong>However, if you want to be more restrictive, you can give only <span style=\"color: #800000;\"><strong>inspect\u00a0<\/strong><\/span>access on ALL resources and give the <span style=\"color: #800000;\"><strong>read<\/strong><\/span> on very specific ones. &#8220;<strong>Inspect<\/strong>&#8221; don&#8217;t give the\u00a0ability to get user-specified metadata\u00a0and the actual resource itself.<\/p>\n<p style=\"padding-left: 30px;\">\u2022 Allow group <strong>group_name<\/strong> to inspect all-resources in tenancy<br \/>\n\u2022 Allow group <strong>group_name<\/strong> to read instances in tenancy<br \/>\n\u2022 Allow group <strong>group_name<\/strong> to read audit-events in tenancy<br \/>\n<span style=\"font-size: 10pt;\"><em>* Change\u00a0group_name to the one assigned in step 2.<\/em><\/span><\/p>\n<p id=\"rWEGBEk\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3811 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01ae2e83cc-300x253.png\" alt=\"\" width=\"300\" height=\"253\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01ae2e83cc-300x253.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01ae2e83cc-768x647.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01ae2e83cc-1024x862.png 1024w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01ae2e83cc.png 1456w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>For more information, please check\u00a0<a href=\"https:\/\/docs.cloud.oracle.com\/iaas\/Content\/Identity\/Reference\/policyreference.htm\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.cloud.oracle.com\/iaas\/Content\/Identity\/Reference\/policyreference.htm<\/a><\/p>\n<h4>4. Add User to Group.<\/h4>\n<p>Go again in <strong>Menu -&gt; Identity -&gt; Users<\/strong>, click on the created user. Go to the &#8220;<strong>Group<\/strong>&#8221; resource on the left panel and select &#8220;<strong>Add User to Group<\/strong>&#8220;.<\/p>\n<p id=\"bawwhVa\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3813 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01b9c835f3-300x192.png\" alt=\"\" width=\"300\" height=\"192\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01b9c835f3-300x192.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01b9c835f3-768x490.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01b9c835f3-1024x654.png 1024w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01b9c835f3.png 1926w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Perfect. Now you have your new user ready. Now let&#8217;s configure oci-cli to make use of it.<\/p>\n<h4>5. Setup oci-cli with new created user.<\/h4>\n<p>Now let&#8217;s configure oci-cli.\u00a0 Before starting,\u00a0note down the values of the information below:<\/p>\n<ul>\n<li><strong>User OCID<\/strong> (available at Menu -&gt; Identity -&gt; Users -&gt; [click on user])<\/li>\n<li><strong>Tenancy OCID<\/strong> (available at Menu -&gt; Administration -&gt; Tenancy)<\/li>\n<\/ul>\n<p>Once you have installed it, the first thing to do start the configuration:<\/p>\n<p><span style=\"color: #800000;\"><strong>$ oci setup config<\/strong><\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">localhost:~ myuser$ oci setup config\r\n    This command provides a walkthrough of creating a valid CLI config file.\r\n\r\n    The following links explain where to find the information required by this\r\n    script:\r\n\r\n    User OCID and Tenancy OCID:\r\n\r\n        https:\/\/docs.us-phoenix-1.oraclecloud.com\/Content\/API\/Concepts\/apisigningkey.htm#Other\r\n\r\n    Region:\r\n\r\n        https:\/\/docs.us-phoenix-1.oraclecloud.com\/Content\/General\/Concepts\/regions.htm\r\n\r\n    General config documentation:\r\n\r\n        https:\/\/docs.us-phoenix-1.oraclecloud.com\/Content\/API\/Concepts\/sdkconfig.htm\r\n\r\n\r\nEnter a location for your config [\/Users\/myuser\/.oci\/config]: \r\nEnter a user OCID: ocid1.user.oc1..aaaaaaaafas7f86as786f87as6f786a7861gjasljfkasfa87tsfakjshkjf\r\nEnter a tenancy OCID: ocid1.tenancy.oc1..aaaaaaaafah98shf1h8salkfajnsnbqbkjsqfha89fhqhwlksahf9aasfha9\r\nEnter a region (e.g. eu-frankfurt-1, uk-london-1, us-ashburn-1, us-phoenix-1): us-ashburn-1\r\nDo you want to generate a new RSA key pair? (If you decline you will be asked to supply the path to an existing key.) [Y\/n]: Y\r\nEnter a directory for your keys to be created [\/Users\/myuser\/.oci]: [ENTER]\r\nEnter a name for your key [oci_api_key]: [ENTER]\r\nPublic key written to: \/Users\/myuser\/.oci\/oci_api_key_public.pem\r\nEnter a passphrase for your private key (empty for no passphrase): [ENTER]\r\nPrivate key written to: \/Users\/myuser\/.oci\/oci_api_key.pem\r\nFingerprint: e6:ff:92:69:5c:34:6a:10:e7:a2:ac:8e:16:38:da:a6\r\nConfig written to \/Users\/myuser\/.oci\/config\r\n\r\n\r\n    If you haven't already uploaded your public key through the console,\r\n    follow the instructions on the page linked below in the section 'How to\r\n    upload the public key':\r\n\r\n        https:\/\/docs.us-phoenix-1.oraclecloud.com\/Content\/API\/Concepts\/apisigningkey.htm#How2\r\n\r\n\r\nlocalhost:~ myuser$<\/pre>\n<h4>6. Add user fingerprint and key on the OCI.<\/h4>\n<p>Now let&#8217;s go back to OCI and add the user public key there so he is able to connect.<\/p>\n<p>First get the generated public key for the user:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">localhost:~ myuser$ cat \/Users\/rodrigo.jorge\/.oci\/oci_api_key_public.pem\r\n-----BEGIN PUBLIC KEY-----\r\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9s79\/Si8AGj8jswA300i\r\nNB\/NjiAeFeOLa2mkfm\/NG75fO8mD7e0XgiOYXuz93oqksR1Kuvoo4Ql3VZwvSDtV\r\nLeyrp9jNmE9\/uAfzzzbFl5OEGjZWSZRVP97\/oJoGvjZNnecU\/z9nIGcsYGs3fL1K\r\nvkioPxIWjtXFt5RRXmolxDi61qvgHpUbo9+3nwi57G3y1yeWLRKlasAvZezulvQN\r\nXfjvqjua9IyZsMxUzTQ3VtVDAomPUfhVk1IxqINyIm40wpu+\/e7U7lX4YXpvnLHw\r\n5N9FaVIAOLE8N0B4K\/UxDSi0xFpeBgp6uuvAsyIdKJXumlxQymBulY6Kq\/w6pVk+\r\n6QIDAQAB\r\n-----END PUBLIC KEY-----\r\n<\/pre>\n<p>Go again in <strong>Menu -&gt; Identity -&gt; Users<\/strong>, click on the created user. Go to the &#8220;<strong>API Keys<\/strong>&#8221; resource on the left panel and select &#8220;<strong>Add Public Key<\/strong>&#8220;.<\/p>\n<p id=\"WNcGGrE\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3821 size-medium\" src=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01f34ceeab-300x223.png\" alt=\"\" width=\"300\" height=\"223\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01f34ceeab-300x223.png 300w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01f34ceeab-768x571.png 768w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01f34ceeab-1024x761.png 1024w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba01f34ceeab.png 1930w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h4><strong>7. Test the configuration.<\/strong><\/h4>\n<p>To test if your oci configuration is working, simply run a oci-cli command as the below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">localhost:~ myuser$ oci iam region-subscription list\r\n{\r\n  \"data\": [\r\n    {\r\n      \"is-home-region\": true,\r\n      \"region-key\": \"IAD\",\r\n      \"region-name\": \"us-ashburn-1\",\r\n      \"status\": \"READY\"\r\n    },\r\n    {\r\n      \"is-home-region\": false,\r\n      \"region-key\": \"PHX\",\r\n      \"region-name\": \"us-phoenix-1\",\r\n      \"status\": \"READY\"\r\n    }\r\n  ]\r\n}<\/pre>\n<b>Have you enjoyed? Please leave a comment or give a \ud83d\udc4d!<\/b>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-3798 jlk' href='javascript:void(0)' data-task='like' data-post_id='3798' data-nonce='de4404f630' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-3798 lc'>+11<\/span><\/a><\/div><\/div> <div class='status-3798 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Creating a read-only user for OCI access is useful if you want to give your auditors or external providers only read privileges on all your Infrastructure resources or if you want to run oci-cli tool in a secure mode, with guarantee that no changes will happen in your Oracle Cloud Infrastructure. In this article I &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-3798","post","type-post","status-publish","format-standard","hentry","category-oracle-cloud-en","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a read-only user in Oracle Cloud Infrastructure - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"How to create a read-only user in Oracle Cloud Infrastructure.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"Creating a read-only user in Oracle Cloud Infrastructure\",\"datePublished\":\"2018-09-17T21:47:43+00:00\",\"dateModified\":\"2018-09-18T13:35:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/\"},\"wordCount\":582,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/img_5ba016afc522d-230x300.png\",\"articleSection\":[\"Oracle Cloud\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/\",\"name\":\"Creating a read-only user in Oracle Cloud Infrastructure - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/img_5ba016afc522d-230x300.png\",\"datePublished\":\"2018-09-17T21:47:43+00:00\",\"dateModified\":\"2018-09-18T13:35:45+00:00\",\"description\":\"How to create a read-only user in Oracle Cloud Infrastructure.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/img_5ba016afc522d-230x300.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/img_5ba016afc522d-230x300.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2018\\\/09\\\/creating-a-read-only-user-in-oracle-cloud-infrastructure\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a read-only user in Oracle Cloud Infrastructure\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a read-only user in Oracle Cloud Infrastructure - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"How to create a read-only user in Oracle Cloud Infrastructure.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/","twitter_misc":{"Written by":"DBA RJ","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#article","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/"},"author":{"name":"DBA RJ","@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"Creating a read-only user in Oracle Cloud Infrastructure","datePublished":"2018-09-17T21:47:43+00:00","dateModified":"2018-09-18T13:35:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/"},"wordCount":582,"commentCount":4,"publisher":{"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"image":{"@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-230x300.png","articleSection":["Oracle Cloud"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/","url":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/","name":"Creating a read-only user in Oracle Cloud Infrastructure - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#primaryimage"},"image":{"@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-230x300.png","datePublished":"2018-09-17T21:47:43+00:00","dateModified":"2018-09-18T13:35:45+00:00","description":"How to create a read-only user in Oracle Cloud Infrastructure.","breadcrumb":{"@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#primaryimage","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-230x300.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2018\/09\/img_5ba016afc522d-230x300.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbarj.com.br\/en\/2018\/09\/creating-a-read-only-user-in-oracle-cloud-infrastructure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbarj.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Creating a read-only user in Oracle Cloud Infrastructure"}]},{"@type":"WebSite","@id":"https:\/\/www.dbarj.com.br\/en\/#website","url":"https:\/\/www.dbarj.com.br\/en\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbarj.com.br\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/3798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/comments?post=3798"}],"version-history":[{"count":0,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/3798\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/media?parent=3798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/categories?post=3798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/tags?post=3798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}