s3perm

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package s3perm maps S3 permission strings (e.g. "s3:GetObject") to the Forge network commands that must be delegated for them. It is shared by the Tenant REST API (which delegates commands to an access key at creation) and the UCAN RPC API (which re-delegates them to the invocation issuer).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandsFor

func CommandsFor(permissions ...string) []ucan.Command

CommandsFor returns the deduplicated set of Forge commands to delegate for the given S3 permissions, preserving first-seen order.

func Valid

func Valid(p string) bool

Valid reports whether p is a recognized S3 permission.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL