Aidp Data Sharing

by oracle-samples90b42d6c24d4No licenseListed Oct 8, 2026Updated Oct 8, 2026

Share AIDP data via Delta Sharing — create/manage shares, add data assets, manage recipients, and grant access/permissions. Use when the user wants to share a table/schema with another team or org, set up Delta Sharing, manage recipients, or control share permissions/token expiry. Primary engine is the official `aidp` CLI (`aidp delta-share …`); the same GA REST API via `oci raw-request` is the no-CLI fallback.

Instructions onlyDevOps & Cloud
AI-generated overview

Manage AIDP Delta Sharing shares and recipients via the aidp CLI or REST fallback.

What it does
This skill guides an agent through creating and managing Delta Sharing shares, adding data assets, creating and attaching recipients, and granting access or permissions. It covers recipient token expiry and rotation, and provides a REST fallback using oci raw-request when the CLI is unavailable. It is instructions only and produces no files itself.
When to use it
Use it when a user wants to share a table or schema with another team or organization, set up Delta Sharing, manage recipients, or control share permissions and token expiry.
Requirements
The aidp CLI with an instance ID, api_key auth, a profile and region; alternatively the OCI CLI for raw-request REST calls. Network access to the AIDP DeltaShare API and valid credentials are required. No scripts ship with the skill.

aidp-data-sharing — Delta Sharing (shares & recipients)

Open data sharing over the Delta Sharing protocol via the AIDP DeltaShare API. A differentiator: open-protocol sharing driven from the agent.

CLI (preferred): aidp delta-share <command> --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region <r>

  • Shares: aidp delta-share create | get | list | update | delete | manage-access | manage-data-asset | manage-permission | list-data-assets
  • Recipients: aidp delta-share create-recipient | get-recipient | list-recipients | update-recipient | delete-recipient | manage-recipient-permission | list-recipient-shares | list-recipient-permissions

Fallback (no CLI): same DeltaShare REST API via oci raw-request (identical endpoint + auth; see references/oci-raw-request.md).

Verify-first: GET /shares and GET /recipients are LIVE-VERIFIED 200 on 20240831/dataLakes (auth --profile DEFAULT, api_key) — aidp delta-share list / list-recipients hit the same path. Default to that version/prefix; treat 20260430 as the future GA target and probe only after a tenancy upgrade. Confirm any write with a live response before destructive actions; record in references/rest-endpoint-map.md.

When to use

  • "Share this table/schema with <team/org>", "set up Delta Sharing", "add/manage a recipient", "grant access to a share", "rotate a recipient token".

Workflow

  1. Verify with aidp delta-share list (CLI) — or GET /shares (REST fallback; auth ladder in references/oci-raw-request.md).
  2. Create a share → add data assets (manage-data-asset, referencing real catalog tables from aidp-catalog-explore) → create/attach recipients → manage access/permissions.
  3. Recipient tokens: surface expiry; rotate via update-recipient / manage-recipient-permission. Never print the recipient bearer token.
  4. Confirm before granting access or deleting a share/recipient (outward-facing — data leaves the tenancy).

Mutating ops (share/recipient create, manage-access, manage-data-asset, manage-permission, manage-recipient-permission): persist the body to .aidp/payloads/ and confirm first (references/payloads.md).

Fallback (no CLI) — REST endpoints (base 20240831/dataLakes/<OCID>)

  • Shares: POST|GET /shares · GET|PUT|DELETE /shares/{k} · GET /shares/{k}/recipients|permissions|dataAssets · POST /shares/{k}/actions/manageAccess|managePermission|manageDataAsset
  • Recipients: POST|GET /recipients · GET|PUT|DELETE /recipients/{k} · GET /recipients/{k}/shares|permissions · POST /recipients/{k}/actions/managePermission

Guardrails

  • Sharing publishes data externally — confirm scope (which assets, which recipient) before any grant.
  • Don't log share tokens/credentials.

References

  • references/aidp-cli-map.md · references/payloads.md · references/oci-raw-request.md · references/rest-endpoint-map.md

Source and attribution

Source:oracle-samples/oracle-aidp-samplesinai/claude-code-plugins/oracle-ai-data-platform-workbench-engineer-agent/skills/aidp-data-sharingat commit90b42d6

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from oracle-samples/oracle-aidp-samples

Aidp Workspace Admin

oracle-samples

Provision and inspect AIDP DataLake instances and workspaces, including private-network workspaces attached to a customer VCN/subnet. Use when the user wants to create/list/get a workspace or DataLake instance, set up a new (e.g. private) AIDP environment, or replicate a customer setup. Create/delete are guarded — confirm before any provisioning.

Awaiting classificationOct 8, 2026

Aidp Volumes

oracle-samples

Work with AIDP volumes — list volumes, browse files inside a volume, upload/download via the PAR flow, and create directories. Use when the user mentions volumes, needs to stage large/binary files, or move data in/out of a volume (distinct from the workspace filesystem). Control-plane via the official `aidp` CLI.

Awaiting classificationOct 8, 2026

Aidp Verified Queries

oracle-samples

Maintains a repository of validated question-to-Spark-SQL pairs so an agent reuses trusted SQL before writing new queries.

Data & AnalyticsOct 8, 2026

Aidp User Settings

oracle-samples

Manage AIDP DataLake user settings and preferences via the aidp CLI or oci raw-request fallback.

Productivity & WorkflowOct 8, 2026

Aidp Spark Optimization

oracle-samples

Guides Apache Spark 3.5.0 performance tuning: partitions, shuffle, joins, skew, memory, file layout, AQE and Delta Lake.

Data & AnalyticsOct 8, 2026

Aidp Semantic Model

oracle-samples

Maintains a .aidp/semantic.md business-meaning layer defining metrics, joins, synonyms and value dictionaries for NL-to-SQL grounding.

Data & AnalyticsOct 8, 2026