The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Etcd3::Auth

DESCRIPTION

Authentication

SYNOPSIS

    # enable auth
    $etcd->user_add

    # add user
    $etcd->user_add( { name => 'samba', password =>'P@$$' });

    # add role
    $etcd->role_add( { name => 'myrole' });

    # grant role
    $etcd->grant_role( { user => 'samba', role => 'myrole' });