@ -24,15 +24,15 @@ module "vault" {
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				## Configuration
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				To configure the HCP Vault Secrets module, follow these steps,
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				1. [Create secrets in HCP Vault Secrets
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				](https://developer.hashicorp.com/vault/tutorials/hcp-vault-secrets-get-started/hcp-vault-secrets-create-secret)
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				    ](https://developer.hashicorp.com/vault/tutorials/hcp-vault-secrets-get-started/hcp-vault-secrets-create-secret)
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				2. Create an HCP Service Principal from the HCP Vault Secrets app in the HCP console. This will give you the `HCP_CLIENT_ID`  and `HCP_CLIENT_SECRET`  that you need to authenticate with HCP Vault Secrets.
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				   
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				3. Set `HCP_CLIENT_ID`  and `HCP_CLIENT_SECRET`  variables on the coder provisioner (recommended) or supply them as input to the module.
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				> See the [HCP Vault Secrets documentation ](https://developer.hashicorp.com/hcp/docs/vault-secrets ) for more information.
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				## Fetch All Secrets
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				To fetch all secrets from the HCP Vault Secrets app, skip the `secrets`  input.