Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle Cloud Infrastructure for Solutions Architects

You're reading from   Oracle Cloud Infrastructure for Solutions Architects A practical guide to effectively designing enterprise-grade solutions with OCI services

Arrow left icon
Product type Paperback
Published in Oct 2021
Publisher Packt
ISBN-13 9781800566460
Length 336 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Prasenjit Sarkar Prasenjit Sarkar
Author Profile Icon Prasenjit Sarkar
Prasenjit Sarkar
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Core Concepts of Oracle Cloud Infrastructure
2. Chapter 1: Introduction to Oracle Cloud Infrastructure FREE CHAPTER 3. Chapter 2: Understanding Identity and Access Management 4. Chapter 3: Designing a Network on Oracle Cloud Infrastructure 5. Chapter 4: Compute Choices on Oracle Cloud Infrastructure 6. Chapter 5: Understanding Oracle Cloud Infrastructure Storage Options 7. Section 2: Understanding the Additional Layers of Oracle Cloud Infrastructure
8. Chapter 6: Understanding Database Choices on Oracle Cloud Infrastructure 9. Chapter 7: Building a Cloud-Native Application on Oracle Cloud Infrastructure 10. Chapter 8: Running a Serverless Application on Oracle Cloud Infrastructure 11. Chapter 9: Managing Infrastructure as Code on Oracle Cloud Infrastructure 12. Chapter 10: Interacting with Oracle Cloud Infrastructure Using the CLI/API/SDK 13. Chapter 11: Building a Hybrid Cloud on Oracle Cloud Infrastructure using Oracle Cloud VMware Solution 14. Other Books You May Enjoy

Using instance principals to make a call to the OCI API

Instance principals enable OCI instances to make API calls against other OCI services. Using instance principals, you can make OCI calls without the need to configure user credentials or a configuration file.

Even without instance principals, you can still achieve this by storing API credentials on each instance. However, then, you will be faced with a credential rotation problem. Additionally, auditing at the instance level is impossible since credentials are the same across hosts.

So, the ideal solution is to use instance principals that give instances their own identity. The instances that have instance principals configured become a new type of principal, and this is in addition to the existing OCI IAM user/group.

To implement an instance principal, you need to use dynamic groups, which allow policies to be defined on instances. An instance principal implements API authentication at the instance level, removing the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime