mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +00:00 
			
		
		
		
	Expose certificate and CRL lifetime via session API call
This commit is contained in:
		| @@ -67,6 +67,10 @@ class SessionResource(object): | ||||
|                 autosign_subnets = config.AUTOSIGN_SUBNETS, | ||||
|                 request_subnets = config.REQUEST_SUBNETS, | ||||
|                 admin_subnets=config.ADMIN_SUBNETS, | ||||
|                 signature = dict( | ||||
|                     certificate_lifetime=config.CERTIFICATE_LIFETIME, | ||||
|                     revocation_list_lifetime=config.REVOCATION_LIST_LIFETIME | ||||
|                 ) | ||||
|             ) if req.context.get("user").is_admin() else None, | ||||
|             features=dict( | ||||
|                 tagging=config.TAGGING_BACKEND, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user