Versions Compared

Key

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

...

An asset is metadata plus content (content is the file) and namespaces are a virtual hierarchy of assets.


Authentication and Delegation

Note

Not needed for S3 resources

If you are doing a lot of scripting, it is undesirable to populate lots of plain text files with your login details. This is where delegation becomes useful. Delegate credentials are binary tokens that reside in the home directory of the user that creates them. These credentials automatically perform a login on your behalf when interacting with Pawsey data storage. Here's an example of creating a delegate credential that lasts for approximately one month:

Code Block
pawsey:/projects>delegate 30
Delegating until: 01-Jun-2016 14:13:15
 
pawsey:/projects>exit

From now on, until the delegate expires, there is no need to login to data storage on the machine where this was run. Any pshell sessions that are run will automatically use the delegate to login. 

Finally, to destroy all delegate credentials, use:

Code Block
pawsey:/projects>delegate off
 Delegate credentials removed.


Info
titleRenewing the delegate token before it expires

You cannot create a new token while you are using an old token. So if you want to renew a token before it expires, you'll first need to delete the old token (use the "delegate off" command) and then log into the system using your username and password (use the "login" command). Once logged in like this, you can create a new delegate token as above.


Asset metadata

Standard metadata

...