22.7. Deauthorizing a Client
To revoke the authorization of a client to access the Red Hat Gluster Storage trusted storage pool, perform the following:
Procedure 22.12. Removing an authorized client from the allowed list
List currently authorized clients and servers
Copy to Clipboard Copied! Toggle word wrap Toggle overflow gluster volume get VOLNAME auth.ssl-allow
$ gluster volume get VOLNAME auth.ssl-allow
For example, the following command shows that there are three authorized servers and five authorized clients.Copy to Clipboard Copied! Toggle word wrap Toggle overflow gluster volume get sample_volname auth.ssl-allow
$ gluster volume get sample_volname auth.ssl-allow server1,server2,server3,client1,client2,client3,client4,client5
Remove clients to deauthorize from the output
For example, if you want to deauthorize client2 and client4, copy the string and remove those clients from the list.Copy to Clipboard Copied! Toggle word wrap Toggle overflow server1,server2,server3,client1,client3,client5
server1,server2,server3,client1,client3,client5
Set the new list of authorized clients and servers
Set the value ofauth.ssl-allow
to your updated string.Copy to Clipboard Copied! Toggle word wrap Toggle overflow gluster volume set VOLNAME auth.ssl-allow <list_of_systems>
$ gluster volume set VOLNAME auth.ssl-allow <list_of_systems>
For example, the updated list shows three servers and three clients.Copy to Clipboard Copied! Toggle word wrap Toggle overflow gluster volume set sample_volname auth.ssl-allow server1,server2,server3,client1,client3,client5
$ gluster volume set sample_volname auth.ssl-allow server1,server2,server3,client1,client3,client5