Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExample...


Code Block
pshell:/> remote project123pawsey123 s3 https://projects.pawsey.org.au
pshell:/> remote project123pawsey123

project123pawsey123:/>login
Access: xyz
Secret: ***


...

Expand
titleExamples...


Panel
titleExample1 - give a list of Pawsey users readonly access


Code Block
project123pawsey123:/>policy my-bucket +r user1,user2,user3,user4
Setting bucket=my-bucket, perm=+r, for user(s)='user1,user2,user3,user4' 

Note: if a user attempts to list buckets they will see nothing. However, if they attempt to list objects inside the bucket it will show the objects inside my-bucket/ - see Note 4.


Panel
titleExample 2 - revoke user3 from having read access


Code Block
project123pawsey123:/>policy my-bucket -r user3
Setting bucket=my-bucket, perm=-r, for user(s)='user3'



Panel
titleExample 3 -  grant read and write permission


Code Block
project123pawsey123:/>policy my-bucket +rw user1
Setting bucket=my-bucket, perm=+rw, for user(s)='user1'



Panel
titleExample 4 - make a bucket readonly and publicly accessible


Code Block
project123pawsey123:/>policy my-bucket +r *
Setting bucket=my-bucket, perm=+r, for user(s)=None



Panel
titleExample 5 - remove all policies on a bucket


Code Block
project123pawsey123:/>policy my-bucket -
Deleting all policies on bucket=my-bucket



...