--- # =========================================================== # OWASP SAMM Activity Description # =========================================================== #Link to the stream that this activity belongs to stream: 9a5f26d77f204467bdda7ffa09109d73 #Link to the practice level that this activity belongs to level: 5015427608de428cba3c324772fb4191 #Unique identifier (GUID) used to refer to this activity. #Please generate another identifier for your specific activity. id: 77a5f467ffe140e2a2839bb522e82c4e #The title of this activity title: Protect application secrets in configuration and code #Describe the benefit that is achieved by implementing this activity benefit: Defined and limited access to your production secrets #A one sentence description of the activity shortDescription: Introduce basic protection measures to limit access to your production secrets. #A multi-paragraph description of the activity longDescription: | Developers should not have access to secrets or credentials for production environments. Have a mechanism in place to adequately protect production secrets, for instance by (i) having specific persons adding them to relevant configuration files upon deployment (the separation of duty principle) or (ii) by encrypting the production secrets contained in the configuration files upfront. Do not use production secrets in configuration files for development or testing environments, as such environments may have a significantly lower security posture. Similarly, do not keep secrets unprotected in configuration files stored in code repositories. Store sensitive credentials and secrets for production systems with encryption-at-rest at all times. Consider using a purpose-built tool for this. Handle key management carefully so only personnel with responsibility for production deployments are able to access this data. #The output of this particular activity results: - result1 - result2 #The different metrics that can be used to measure the success of the activity metrics: - metric1 - metric2 #A description of the costs required to implement the activity costs: TBS. #The (standard) roles involved in the implementation of this activity personnel: - Developer - Administrator - Security Engineer #Internal notes that might help the author notes: None #References to other activities that are prerequisites to implement this one. relatedActivities: #Type Classification of the Document type: Activity