Skip to main content

Mass Repository Grant List

mass repository grant list​

List the sharing grants on a repository

Synopsis​

List Repository Grants

Lists the sharing grants authored on an OCI repository — what it is shared as, and which recipient projects qualify.

If you can see a repository you can see all of its grants; they are publisher-side metadata rather than being visibility-gated themselves.

Usage​

shell
mass repository grant list <name> [flags]

Flags​

  • -o, --output — output format: table or json

Examples​

shell
# List the grants on a repository
mass repository grant list aws-aurora-postgres

# As JSON, for scripting
mass repository grant list aws-aurora-postgres -o json

Notes​

  • The Recipients column reads everyone for an organization-wide grant, key=* for a per-key wildcard, and key=a|b for a closed set.
  • The ID column is what mass repository grant delete takes.
mass repository grant list <name> [flags]

Options​

  -h, --help            help for list
-o, --output string Output format (table, json) (default "table")

Options inherited from parent commands​

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSO​