title: Spring Cloud Config Server - Where to set encrypt.key to enable /encrypt endpoint
body: <p>I have a Spring Cloud Config app with the Spring Cloud Security dependencies.  I'm trying to hit the /encrypt endpoint to encrypt a password.</p>
  
  <p>According to the docs at <a href="http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_key_management" rel="nofollow">http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_key_management</a> I believe I need to set a symmetric key using "encrypt.key".  But I can't figure out where to put this; all combinations I've tried result in {"description":"No key was installed for encryption service","status":"NO_KEY"} when I attempt to POST to /encrypt.</p>
  
  <p>If I POST a key to /key, the /encrypt works perfectly, so I'm pretty sure that everything else is setup correctly.  It also works fine using the environment variable ENCRYPT_KEY, or by using a system property encrypt.key.  I just can't figure out where to place the encrypt.key within a configuration file.  Is there a sample on this?</p>