Skip to main content

put_only_policy

Function put_only_policy 

Source
pub fn put_only_policy(bucket: &str, prefix: &str) -> String
Expand description

The IAM inline policy: s3:PutObject and nothing else, scoped to the vault prefix. No Get/List/Delete — a compromised host can only add objects.