Guest User

Untitled

a guest
Jan 26th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. username="test_username"
  2. password = getpass.getpass(prompt='Enter your password: ')
  3. !echo "$username"
  4. !echo "$password"
  5. !AUTH_HEADER=$(curl -su "$username":"$password" "https://de.cyverse.org/terrain/token" | jq -r .access_token)
  6. !export AUTH_HEADER
  7. !echo "$AUTH_HEADER"
  8.  
  9. Enter your password: ·············
  10. test_username
  11. test123
Add Comment
Please, Sign In to add comment