outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

option to set max number of keys created on a server

Open vahiddsy opened this issue 2 years ago • 6 comments

generate accesskey is unlimited , if added limit option for generate new accesskey . For example, no more than 20 keys can be created on each server.

vahiddsy avatar Dec 28 '23 16:12 vahiddsy

What's your use case?

murka avatar Jan 05 '24 18:01 murka

Sometimes the server does not tolerate creating many keys for use. Server problems can be avoided by limiting key generation.

vahiddsy avatar Jan 08 '24 16:01 vahiddsy

So, how can we count the maximum number of keys to use?

murka avatar Jan 14 '24 11:01 murka

At the time of creating the access key, we can check the value ID with the defined value ID , if the new ID is greater than the defined value ID , the permission to create the key will not be issued.

vahiddsy avatar Jan 18 '24 04:01 vahiddsy

I mean, you wanna have the optional settings for server for limiting Accesskey generation, right?

murka avatar Jan 24 '24 09:01 murka

I mean, you wanna have the optional settings for server for limiting Accesskey generation, right?

yeah , right

vahiddsy avatar Jan 27 '24 05:01 vahiddsy