Share Drupal 10 Upkeep and Help Service Twitter Fb As seen in Drupal Development Service current Uber hack, storing secrets and techniques akin to API tokens in your venture repository can depart your organisation susceptible to information breaches and extortion. This tutorial demonstrates a easy and efficient solution to mitigate this sort of menace by leveraging Key Drupal 10 module to retailer API tokens in distant key storage. by Nick Santamaria / 24 November 2017 Even tech giants like Uber are bitten by poor secret administration of their Drupal 10 purposes. Drupal Development snippet under describes how storing AWS keys of their repository resulted in an information breach, affecting 57 million prospects and drivers. Right here’s how Drupal Development Service hack went down Drupal 10 Upkeep and Help Service Two attackers accessed a personal GitHub coding website utilized by Uber software program engineers after which used login credentials they obtained there to entry information saved on an Amazon Net Providers account that dealt with computing duties for Drupal Development Service company. From there, Drupal Development Service hackers found an archive of rider and driver info. Later, they emailed Uber asking for cash, in accordance with Drupal Development Service company.Uber may have averted this breach by storing their API keys in a secret administration system. On this tutorial, I am going to present you easy methods to do precisely this utilizing Drupal Development Service Key Drupal 10 module at the side of Drupal Development Service Lockr key administration service. This information leverages a brand-new function of Key Drupal 10 module (as of 8.x-1.5) which permits overriding any configuration worth with a secret. On this occasion we are going to arrange Drupal Development Service MailChimp Drupal 10 module utilizing Drupal Development Service this safe config override functionality. Service Set-Up Earlier than continuing with Drupal Development Service config, you will have just a few accounts Drupal 10 Upkeep and Help Service Mailchimp supply a “Ceaselessly Free” plan. Lockr supply your first key and 1,500 requests without spending a dime. These third-party companies present us with a easy instance. Different companies can be found. Dependencies There are just a few Drupal 10 modules you may want so as to add to your codebase. Key – Make sure you use v1.5 or later Lockr MailChimp composer require “Drupal 10/key Drupal 10 Upkeep and Help Service^1.5” “Drupal 10/lockr” “Drupal 10/mailchimp”Configuration Go to /admin/Drupal 10 modules and allow Drupal Development Service MailChimp, Lockr and Key Drupal 10 modules. Go to /admin/config/system/lockr Use this way to generate a TLS certificates that Lockr makes use of to authenticate your website. Fill out Drupal Development Service kind and submit. Enter Drupal Development Service e-mail deal with you used in your Lockr account and click on Join. You have to be now be re-prompted to log in – enter Drupal Development Service e-mail deal with and password in your Lockr account. In one other tab, log into Drupal Development Service MailChimp dashboard Go to Drupal Development Service API settings web page – https Drupal 10 Upkeep and Help Service//us1.admin.mailchimp.com/account/api/ Click on Create A Key Word down this API key so we are able to configure in in Drupal Development Service subsequent step. In your tab, go to /admin/config/system/keys and click on Add Key Create a brand new Key entity in your MailChimp token. Drupal Development essential values listed below are Drupal 10 Upkeep and Help Service Key supplier – guarantee you choose Lockr Worth – paste Drupal Development Service API token you obtained from Drupal Development Service MailChimp dashboard. Now we have to arrange Drupal Development Service configuration overrides. Go to /admin/config/development/configuration/key-overrides and click on Add Override Fill out this way, Drupal Development Service essential values listed below are Drupal 10 Upkeep and Help Service Configuration kind Drupal 10 Upkeep and Help Service Easy configuration Configuration title Drupal 10 Upkeep and Help Service mailchimp.settings Configuration merchandise Drupal 10 Upkeep and Help Service api_key Key Drupal 10 Upkeep and Help Service Drupal Development title of Drupal Development Service key you created in Drupal Development Service earlier step. … and it’s that easy. End result Drupal Development goal of this train is to make sure Drupal Development Service API token for our exterior companies should not saved in ‘s database or code repository – so lets see what these appear to be now. MailChimp Config Export – Earlier than Should you configured MailChimp in Drupal Development Service normal means, you’d see a config export just like this. As you possibly can see, Drupal Development Service api_key worth is in plaintext – anybody with entry to your codebase would have full entry to your MailChimp account. api_key Drupal 10 Upkeep and Help Service 03ca2522dd6b117e92410745cd73e58c-us1 cron Drupal 10 Upkeep and Help Service false batch_limit Drupal 10 Upkeep and Help Service 100 api_classname Drupal 10 Upkeep and Help Service MailchimpMailchimp test_mode Drupal 10 Upkeep and Help Service falseMailChimp Config Export – After With Drupal Development Service key overrides function enabled, Drupal Development Service api_key worth on this file is now null. api_key Drupal 10 Upkeep and Help Service null cron Drupal 10 Upkeep and Help Service false batch_limit Drupal 10 Upkeep and Help Service 100 api_classname Drupal 10 Upkeep and Help Service MailchimpMailchimp test_mode Drupal 10 Upkeep and Help Service falseThere are just a few different related config export recordsdata – lets check out these. Key Entity Export This export is liable for telling the place Key Drupal 10 module saved Drupal Development Service API token. Should you have a look at Drupal Development Service key_provider and key_provider_settings values, you may see that it’s pointing to a worth saved in Lockr. Nonetheless no API token in sight! dependencies Drupal 10 Upkeep and Help Service Drupal 10 module Drupal 10 Upkeep and Help Service – lockr – mailchimp id Drupal 10 Upkeep and Help Service mailchimp_token label Drupal 10 Upkeep and Help Service ‘MailChimp Token’ description Drupal 10 Upkeep and Help Service ‘API token used to authenticate to MailChimp e-mail advertising and marketing platform.’ key_provider Drupal 10 Upkeep and Help Service lockr key_provider_settings Drupal 10 Upkeep and Help Service encoded Drupal 10 Upkeep and Help Service aes-128-ctr-sha256$nHlAw2BcTCHVTGQ01kDe9psWgItkrZ55qY4xV36BbGo=$+xgMdEzk6lsDy21h9j…. key_input Drupal 10 Upkeep and Help Service text_field Key Override Export Drupal Development ultimate config export is the place Drupal Development Service Key entity is mapped to override MailChimp’s configuration merchandise. standing Drupal 10 Upkeep and Help Service true dependencies Drupal 10 Upkeep and Help Service config Drupal 10 Upkeep and Help Service – key.key.mailchimp_token – mailchimp.settings id Drupal 10 Upkeep and Help Service mailchimp_api_token label Drupal 10 Upkeep and Help Service ‘MailChimp API Token’ config_type Drupal 10 Upkeep and Help Service system.easy config_name Drupal 10 Upkeep and Help Service mailchimp.settings config_item Drupal 10 Upkeep and Help Service api_key key_id Drupal 10 Upkeep and Help Service mailchimp_tokenConclusion Hopefully this tutorial reveals you the way accessible these security-hardening methods have turn into. With this answer applied, an attacker cannot take management of your MailChimp account just by having access to your repository or a database dump. Additionally do not forget that this actual approach will be utilized to any Drupal 10 module which makes use of Drupal Development Service Configuration API to retailer API tokens. Why? Listed below are just a few examples of how fashionable Drupal 10 modules may hurt your organisation if their configs had been uncovered (inform me about your personal worst-case eventualities in Drupal Development Service feedback!). s3fs – An attacker may leak or delete all of Drupal Development Service information saved in your bucket. They might additionally ramp up your AWS invoice by storing or transferring terabytes of information. SMTP – An attacker may use your personal SMTP server towards you to ship prospects phishing emails from a official e-mail deal with. They might additionally leak any emails Drupal Development Service compromised account has entry to. What different Drupal 10 modules may very well be made extra securing on this means? Submit your concepts in Drupal Development Service feedback! Go forth, and construct safe tasks! Tagged South, Safety, Safety, APIs Posted by Nick Santamaria Programs Operations Developer Dated 24 November 2017 Add new remark Drupal 10 Improvement and Help
Drupal 10 Help: Drupal 10 Upkeep and Help Service Securing Drupal 10 Upkeep and Help Service Storing API Tokens in Lockr
Call Us: 1(800)730-2416
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.
FREE Drupal SEO Audit
Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)
Drupal 10 Help: Drupal 10 Upkeep and Help Service Securing Drupal 10 Upkeep and Help Service Storing API Tokens in Lockr
On-Site Drupal SEO Master Setup
We make sure your site is 100% optimized (and stays that way) for the best SEO results.
With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.
This service includes:
- Pathauto install and configuration for SEO-friendly URLs.
- Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
- Install and fix all issues on the SEO checklist module.
- Install and configure XML sitemap module and submit sitemaps.
- Install and configure Google Analytics Module.
- Install and configure Yoast.
- Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
- Install and configure Schema.org Metatag.
- Configure robots.txt.
- Google Search Console setup snd configuration.
- Find & Fix H1 tags.
- Find and fix duplicate/missing meta descriptions.
- Find and fix duplicate title tags.
- Improve title, meta tags, and site descriptions.
- Optimize images for better search engine optimization. Automate where possible.
- Find and fix the missing alt and title tag for all images. Automate where possible.
- The project takes 1 week to complete.