oraclecloud-security-basics

Featured

Master OCI IAM policy syntax, common policy patterns, and API key management. Use when writing IAM policies, granting access to compartments, or managing API keys. Trigger with "oraclecloud security basics", "oci iam policy", "oci policy syntax", "oci api key setup".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Oracle Cloud Security Basics ## Overview OCI IAM policy syntax (`Allow group X to manage Y in compartment Z`) is the number one enterprise complaint. One wrong policy locks you out of your own resources. One missing verb and your automation silently fails with a `404 NotAuthorizedOrNotFound` that looks like a missing resource. This skill is the IAM policy cheat sheet with tested patterns for common access scenarios. **Purpose:** Write correct IAM policies, manage API keys securely, and understand the OCI permission model. ## Prerequisites - **OCI Python SDK** — `pip install oci` - **OCI config file** at `~/.oci/config` with valid credentials (user, fingerprint, tenancy, region, key_file) - **Tenancy administrator access** (to create policies) or membership in a group with `manage policies` permission - Python 3.8+ ## Instructions ### Step 1: Understand the Policy Verb Hierarchy OCI uses four verbs in ascending order of privilege. Each higher verb includes all lower verbs: | Verb | Capabilities | Typical Use Case | |------|-------------|------------------| | `inspect` | List resources, get metadata only | Auditors, read-only dashboards | | `read` | Inspect + get full resource details/contents | Monitoring tools, reporting | | `use` | Read + act on existing resources (start/stop, attach) | Developers, operators | | `manage` | Use + create, delete, move resources | Admins, automation service accounts | **Critical:** `use` does NOT include `create` or `delete`. This t...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category