{"id":19484,"date":"2022-11-21T08:42:37","date_gmt":"2022-11-21T07:42:37","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=19484"},"modified":"2022-11-21T08:42:37","modified_gmt":"2022-11-21T07:42:37","slug":"access-oci-cloud-using-session-token","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/","title":{"rendered":"Access OCI cloud using session token"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">by Alexandre Nestor<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the previous article  <a href=\"https:\/\/www.dbi-services.com\/blog\/a-step-by-step-guide-to-install-and-configure-oci-client\/\">A step by step guide to install and configure OCI client<\/a> the <code>oci<\/code> client configuration. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OCI provides also token access. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n~ &gt; oci session authenticate --profile-name MY_SESS_PROF --region eu-zurich-1 --tenancy-name &lt;your tenancy name&gt;\n    Please switch to newly opened browser window to log in!\n    You can also open the following URL in a web browser window to continue:\nhttps:\/\/login.eu-zurich-1.oraclecloud.com\/v1\/oauth2\/authorize?action=login&amp;client_id=iaas_console&amp;response_type=token+id_token&amp;nonce=b020c2c3-0027-4223-85fd-23203c01023c&amp;scope=openid&amp;public_key=eyJrdHkiOiAiUlNBIiwgIm4iOiAidTl5MENMLWxsSWpIbElsd2Nw**************************VprV0dHbzJLRE5yY2pvbEQ4S0xXTkducGN5OG9tTkh5R0RZaEI1R2VPMF9KbWhMNjVvSTlrZEtrZHp1NHdRRXpnSEZlUXFYQ2NTc1hyUWl3N0I4b25VYWZLc0h5Y2tnNWUtMUdlNWtlZVNZSlJRaVJ1c0hrdHdackh1Q3Z4UnJmOW0wVVNRIiwgImUiOiAiQVFBQiIsICJ*******************9&amp;redirect_uri=http%3A%2F%2Flocalhost%3A8181&amp;tenant=*************\n    Completed browser authentication process!\nConfig written to: \/Users\/mytest\/.oci\/config\n\n    Try out your newly created session credentials with the following example command:\n\n    oci iam region list --config-file \/Users\/mytest\/.oci\/config --profile MY_SESS_PROF --auth security_token\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note: <\/strong>The tenancy name can be found on the page &#8220;<strong>Tenancy details<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"614\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-1024x614.png\" alt=\"\" class=\"wp-image-19496\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-1024x614.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-300x180.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-768x460.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-1536x921.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1.png 1708w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s try out the OCI output suggestion: <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\noci iam region list --config-file \/Users\/mytest\/.oci\/config --profile MY_SESS_PROF --auth security_token\n\n{\n  &quot;data&quot;: &#x5B;\n    {\n      &quot;key&quot;: &quot;AMS&quot;,\n      &quot;name&quot;: &quot;eu-amsterdam-1&quot;\n    },\n    {\n      &quot;key&quot;: &quot;ARN&quot;,\n      &quot;name&quot;: &quot;eu-stockholm-1&quot;\n    },\n......\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The <code>$HOME\/.config<\/code> file was updated with the token and the session parameters are in the <code>session<\/code> directory as follows: <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n~ &gt; cd $HOME\/.oci\n.oci &gt; tree\n.\n\u251c\u2500\u2500 config\n\u251c\u2500\u2500 oci_api_key.pem\n\u251c\u2500\u2500 oci_api_key_public.pem\n\u251c\u2500\u2500 rsa.private\n\u251c\u2500\u2500 rsa.public\n\u2514\u2500\u2500 sessions\n    \u2514\u2500\u2500 MY_SESS_PROF\n        \u251c\u2500\u2500 oci_api_key.pem\n        \u251c\u2500\u2500 oci_api_key_public.pem\n        \u2514\u2500\u2500 token\n\n.oci &gt; cat config\n&#x5B;DEFAULT]\nuser = ocid1.user.oc1..aaaa*********wyqwklitkuu6owpzcj****\nfingerprint = 01:**************:3c:9a:99:ff:08:******\nkey_file = ~\/.oci\/oci_api_key.pem\ntenancy = ocid1.tenancy.oc1..aaaaaaaa**************iai4di356quiofira\nregion = eu-zurich-1\n\n\n# Here the new added session \n&#x5B;MY_SESS_PROF]\nfingerprint=20:25:**************e:aa:00:c6\nkey_file=\/Users\/mytest\/.oci\/sessions\/MY_SESS_PROF\/oci_api_key.pem\ntenancy=ocid1.tenancy.oc1..aaaaaaaac5*************s5bgmciai4di356quiofira\nregion=eu-zurich-1\nsecurity_token_file=\/Users\/mytest\/.oci\/sessions\/MY_SESS_PROF\/token\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">For an easy use these env variables are available to avoid passing <code>--profile<\/code> and <code>--auth<\/code> parameters on <code>oci<\/code> command line:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n~ &gt; export OCI_CLI_PROFILE=MY_SESS_PROF\n~ &gt; export OCI_CLI_AUTH=security_token\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Token validation: <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n~ &gt; oci session validate  --profile MY_SESS_PROF --auth security_token\nSession is valid until 2022-10-06 17:59:00\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The token can be refreshed before it&#8217;s expiration:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n~ &gt; oci session refresh --profile MY_SESS_PROF\nAttempting to refresh token from https:\/\/auth.eu-zurich-1.oraclecloud.com\/v1\/authentication\/refresh\nSuccessfully refreshed token\n~ &gt; oci session validate  --profile MY_SESS_PROF --auth security_token\nSession is valid until 2022-10-06 18:16:42\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>by Alexandre Nestor In the previous article A step by step guide to install and configure OCI client the oci client configuration. OCI provides also token access. Note: The tenancy name can be found on the page &#8220;Tenancy details&#8220; Let&#8217;s try out the OCI output suggestion: The $HOME\/.config file was updated with the token and&hellip;&nbsp;<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[955,59],"tags":[],"class_list":["post-19484","post","type-post","status-publish","format-standard","category-cloud","category-oracle"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Access OCI cloud using session token - dbi services Blog<\/title>\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.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Access OCI cloud using session token\" \/>\n<meta property=\"og:description\" content=\"by Alexandre Nestor In the previous article A step by step guide to install and configure OCI client the oci client configuration. OCI provides also token access. Note: The tenancy name can be found on the page &#8220;Tenancy details&#8220; Let&#8217;s try out the OCI output suggestion: The $HOME\/.config file was updated with the token and&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-21T07:42:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1708\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bf7c7eb0bec165183207237c9d0ee1d5\"},\"headline\":\"Access OCI cloud using session token\",\"datePublished\":\"2022-11-21T07:42:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/\"},\"wordCount\":97,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/GetTenancyID-1-1024x614.png\",\"articleSection\":[\"Cloud\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/\",\"name\":\"Access OCI cloud using session token - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/GetTenancyID-1-1024x614.png\",\"datePublished\":\"2022-11-21T07:42:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/GetTenancyID-1.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/GetTenancyID-1.png\",\"width\":1708,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/access-oci-cloud-using-session-token\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access OCI cloud using session token\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bf7c7eb0bec165183207237c9d0ee1d5\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"caption\":\"Oracle Team\"},\"description\":\"Posts published under the Oracle Team account are collective contributions by the dbi services Oracle consultants. The practice covers the full Oracle Database lifecycle: architecture, migration and upgrade, high availability with RAC and Data Guard, backup and recovery, performance tuning, and engineered systems such as Oracle Database Appliance and Exadata. The team holds Oracle certifications up to Certified Master level and operates customer platforms under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/oracle-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Access OCI cloud using session token - dbi services Blog","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.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/","og_locale":"en_US","og_type":"article","og_title":"Access OCI cloud using session token","og_description":"by Alexandre Nestor In the previous article A step by step guide to install and configure OCI client the oci client configuration. OCI provides also token access. Note: The tenancy name can be found on the page &#8220;Tenancy details&#8220; Let&#8217;s try out the OCI output suggestion: The $HOME\/.config file was updated with the token and&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2022-11-21T07:42:37+00:00","og_image":[{"width":1708,"height":1024,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1.png","type":"image\/png"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bf7c7eb0bec165183207237c9d0ee1d5"},"headline":"Access OCI cloud using session token","datePublished":"2022-11-21T07:42:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/"},"wordCount":97,"commentCount":2,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-1024x614.png","articleSection":["Cloud","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/","url":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/","name":"Access OCI cloud using session token - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1-1024x614.png","datePublished":"2022-11-21T07:42:37+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/10\/GetTenancyID-1.png","width":1708,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/access-oci-cloud-using-session-token\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Access OCI cloud using session token"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bf7c7eb0bec165183207237c9d0ee1d5","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","caption":"Oracle Team"},"description":"Posts published under the Oracle Team account are collective contributions by the dbi services Oracle consultants. The practice covers the full Oracle Database lifecycle: architecture, migration and upgrade, high availability with RAC and Data Guard, backup and recovery, performance tuning, and engineered systems such as Oracle Database Appliance and Exadata. The team holds Oracle certifications up to Certified Master level and operates customer platforms under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/19484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=19484"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/19484\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=19484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=19484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=19484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}