This page is specific to S3 remote types (eg acacia and AWS) it does not apply to the more specialised banksia service.
An acacia project can be added to your list of pshell remotes by using an arbitrary remote name (eg project123) and supplying the access/secret pair after you select the remote and login. An example is given below:
pshell:/> remote add project123 s3 https://projects.pawsey.org.au pshell:/> remote project123 project123:/>login Access: xyz Secret: *** |
Simple S3 policies can also be automatically created for you, noting that:
Here we give a list of Pawsey usernames (user1, user2, user3, and user4) readonly access to a project bucket called p0002-sfx.
Note: if a user (eg user1) attempts to list buckets they will see nothing. However, if they attempt to list objects inside the bucket it will show the objects inside p0002-sfx/ - see Note 4. |
Here we want to revoke user3 from having read access to the bucket.
This works as the combined effect of having both ALLOW and DENY for user3 acts as an overall DENY - see Note 3. |
This illustrates an alternative method for achieving the same overall result as in example2. Here we remove all policies on the bucket first, before adding back just the users we want.
Note that the generated policy will look different to example2 and will actually be similar to example1 with user3 omitted from the list. |
This will grant read and write permission on a bucket.
|
Revoking read and write access works in the same way as the previous examples for readonly access.
Alternatively:
|