title: How to do password rotation through secrets manager for RDS MySQL aurora?
body: <p>I have secrets manager with the secret value url in following format:
   <code>mysql+pymysql://username:password@db-name-dbcluster-13aaj5jwbujqa.cluster-cim1u06sewzq.us-west-2.rds.amazonaws.com/</code></p>
  
  <p>I want to automatically rotate the password and have two users , so there is no downtime as well.</p>
  
  <p>I tried using was multi user rotation lambda function in sample code provided but it doesn't fit my needs as they need in following format :</p>
  
  <pre><code>        'engine': &lt;required: must be set to 'mysql'&gt;,
          'host': &lt;required: instance host name&gt;,
          'username': &lt;required: username&gt;,
          'password': &lt;required: password&gt;,
          'dbname': &lt;optional: database name&gt;,
          'port': &lt;optional: if not specified, default port 3306 will be used&gt;,
          'masterarn': &lt;required: the arn of the master secret which will be used to create users/change passwords&gt;
      }
  </code></pre>
  
  <p>I do not have master Arn in my secrets value.</p>
  
  <p>I would like to have my custom lambda function which will to automatic rotation of password using secrets manager and with two user, so it swaps user 1 to user 2 during rotation.</p>