CONTAP-760202: RFE: Request functionality to set the value arn:s3::$[aws:username]/* in the resource field when editing S3 policy
Issue
Can it be specified in an S3 policy that a “Allow all” rule applies to all buckets that have the same name as the user, e.g., user “example,” bucket “example”? -resource arn:s3::$[aws:username]/*
When this is tested follow error is displayed from CLI and GUI:
::> vserver object-store-server policy statement create -vserver svm_name -policy policy_name -effect allow -action object_store_actions -resource arn:s3::$[aws:username]/*
The value /${aws:username}/" is not valid for field "-resource". Valid ways to specify a resource are "*", "<bucket-name>", "<bucket-name>/.../...".".
Error seen when editing a policy statement
Failed to modify policy statement for policy "test". Reason: "The value "/${aws:username}/" is not valid for field "-resource". Valid ways to specify a resource are "*", "<bucket-name>", "<bucket-name>/.../...".".
