Skip to content

Commit a4eec2c

Browse files
committed
docs(providers): note the read-write preset and one-signing-profile rule in the OCI examples
The read-write access preset excludes DELETE, so the Object Storage example says how to grant it. Two attached profiles may not both provide OCI_KEY_ID, so both signing examples point multi-service sandboxes at the endpointless oci profile bound from a sandbox policy. Both facts surfaced in the end-to-end run against real OCI. Signed-off-by: Federico Kamelhar <federico.kamelhar@oracle.com>
1 parent 4711bda commit a4eec2c

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎providers/oci-genai-native.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
# resource, or OKE workload identity.
2323
# Endpoint access: the regional Generative AI inference hosts in the
2424
# commercial realm, limited to the native /20231130 API.
25+
# Attach one OCI signing profile per sandbox: two attached
26+
# profiles may not both provide OCI_KEY_ID. To reach several
27+
# OCI services from one sandbox, attach the endpointless
28+
# oci.yaml profile and bind it from a sandbox policy.
2529
# Requests carry the compartment OCID in the body, so the
2630
# sandbox must know it; scope the key's IAM policy to that
2731
# compartment.

‎providers/oci-object-storage.yaml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@
2121
# Credential scope: OCI_KEY_ID and OCI_PRIVATE_KEY, signed by the proxy. The
2222
# sandbox never holds a usable key.
2323
# Endpoint access: the regional Object Storage hosts in the commercial realm,
24-
# read-write, TLS terminated so the proxy can sign each
25-
# request. PUT and POST bodies are buffered for hashing.
24+
# read-write (GET, HEAD, POST, PUT, PATCH), TLS terminated
25+
# so the proxy can sign each request. PUT and POST bodies
26+
# are buffered for hashing. DELETE is not in read-write:
27+
# grant it in your copy with `access: full` or explicit
28+
# `rules`, as with aws-s3.yaml.
29+
# Attach one OCI signing profile per sandbox: two attached
30+
# profiles may not both provide OCI_KEY_ID. To reach several
31+
# OCI services from one sandbox, attach the endpointless
32+
# oci.yaml profile and bind it from a sandbox policy.
2633
# Smoke test: openshell sandbox create --provider <name> -- \
2734
# curl -sS https://objectstorage.us-chicago-1.oraclecloud.com/n/<namespace>/b/<bucket>/o
2835

0 commit comments

Comments
 (0)