Skip to contents

Provides an authentication service for an iRODS zone. Using the function without arguments results in a prompt asking for the user name and password thereby preventing hard-coding of sensitive information in scripts.

Usage

iauth(user = NULL, password = NULL, role = "rodsuser")

Arguments

user

iRODS user name (prompts user for user name if not supplied).

password

iRODS password (prompts user for password if not supplied).

role

iRODS role of user (defaults to "rodsuser").

Value

Invisibly NULL.

Examples

is_irods_demo_running()
#> [1] TRUE

# demonstration server (requires Bash, Docker and Docker-compose)
# use_irods_demo()

# connect project to server
create_irods("http://localhost/irods-rest/0.9.3", "/tempZone/home")

# authenticate
iauth("rods", "rods")