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
gluster volume get VOLNAME auth.ssl-allow
$ gluster volume get VOLNAME auth.ssl-allow
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example, the following command shows that there are three authorized servers and five authorized clients.gluster volume get sample_volname auth.ssl-allow
$ gluster volume get sample_volname auth.ssl-allow server1,server2,server3,client1,client2,client3,client4,client5
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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.server1,server2,server3,client1,client3,client5
server1,server2,server3,client1,client3,client5
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Set the new list of authorized clients and servers
Set the value ofauth.ssl-allow
to your updated string.gluster volume set VOLNAME auth.ssl-allow <list_of_systems>
$ gluster volume set VOLNAME auth.ssl-allow <list_of_systems>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example, the updated list shows three servers and three clients.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
Copy to Clipboard Copied! Toggle word wrap Toggle overflow