init_secrets: script to init .env values
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
		
							parent
							
								
									b08a24bedf
								
							
						
					
					
						commit
						7d4f49d0e7
					
				
							
								
								
									
										6
									
								
								sql_app/init_secrets.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								sql_app/init_secrets.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
echo "API_KEY=$(./gen_secret.sh)" >> .env
 | 
			
		||||
echo "API_KEY_NAME=big_boy" >> .env
 | 
			
		||||
echo "jwt_secret=$(./gen_secret.sh)" >> .env
 | 
			
		||||
echo "jwt_algorithm=HS256" >> .env
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user