mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	backport of commit 3f9b6075aa (#23126)
				
					
				
			Backport of UI: add SSH role attribute allowed_domains_template Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
This commit is contained in:
		 hc-github-team-secure-vault-core
					hc-github-team-secure-vault-core
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							db50803a1f
						
					
				
				
					commit
					a78fe24e77
				
			
							
								
								
									
										3
									
								
								changelog/23119.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								changelog/23119.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | ```release-note:improvement | ||||||
|  | ui: Added allowed_domains_template field for CA type role in SSH engine | ||||||
|  | ``` | ||||||
| @@ -26,6 +26,7 @@ const CA_FIELDS = [ | |||||||
|   'allowedUsers', |   'allowedUsers', | ||||||
|   'allowedUsersTemplate', |   'allowedUsersTemplate', | ||||||
|   'allowedDomains', |   'allowedDomains', | ||||||
|  |   'allowedDomainsTemplate', | ||||||
|   'ttl', |   'ttl', | ||||||
|   'maxTtl', |   'maxTtl', | ||||||
|   'allowedCriticalOptions', |   'allowedCriticalOptions', | ||||||
| @@ -71,12 +72,16 @@ export default Model.extend({ | |||||||
|   }), |   }), | ||||||
|   allowedUsersTemplate: attr('boolean', { |   allowedUsersTemplate: attr('boolean', { | ||||||
|     helpText: |     helpText: | ||||||
|       'Specifies that Allowed users can be templated e.g. {{identity.entity.aliases.mount_accessor_xyz.name}}', |       'Specifies that Allowed Users can be templated e.g. {{identity.entity.aliases.mount_accessor_xyz.name}}', | ||||||
|   }), |   }), | ||||||
|   allowedDomains: attr('string', { |   allowedDomains: attr('string', { | ||||||
|     helpText: |     helpText: | ||||||
|       'List of domains for which a client can request a certificate (e.g. `example.com`, or `*` to allow all)', |       'List of domains for which a client can request a certificate (e.g. `example.com`, or `*` to allow all)', | ||||||
|   }), |   }), | ||||||
|  |   allowedDomainsTemplate: attr('boolean', { | ||||||
|  |     helpText: | ||||||
|  |       'Specifies that Allowed Domains can be set using identity template policies. Non-templated domains are also permitted.', | ||||||
|  |   }), | ||||||
|   cidrList: attr('string', { |   cidrList: attr('string', { | ||||||
|     helpText: 'List of CIDR blocks for which this role is applicable', |     helpText: 'List of CIDR blocks for which this role is applicable', | ||||||
|   }), |   }), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user