mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	backport of commit b930010ae2 (#20236)
				
					
				
			Co-authored-by: Yura Shutkin <yshutkin@infra-lab.xyz>
This commit is contained in:
		 hc-github-team-secure-vault-core
					hc-github-team-secure-vault-core
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							6b7259685f
						
					
				
				
					commit
					93a62a4033
				
			
							
								
								
									
										3
									
								
								changelog/20109.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								changelog/20109.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | ```release-note:improvement | ||||||
|  | sys/wrapping: Add example how to unwrap without authentication in Vault | ||||||
|  | ``` | ||||||
| @@ -51,6 +51,15 @@ $ curl \ | |||||||
|     http://127.0.0.1:8200/v1/sys/wrapping/unwrap |     http://127.0.0.1:8200/v1/sys/wrapping/unwrap | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | Or you can use token to unwrap without authentication in vault | ||||||
|  |  | ||||||
|  | ```shell-session | ||||||
|  | $ curl \ | ||||||
|  |     --header "X-Vault-Token: abcd1234..." \ | ||||||
|  |     --request POST \ | ||||||
|  |     http://127.0.0.1:8200/v1/sys/wrapping/unwrap | ||||||
|  | ``` | ||||||
|  |  | ||||||
| ### Sample Response | ### Sample Response | ||||||
|  |  | ||||||
| ```json | ```json | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user