{"id":"cloud-accounts.how-do-i-replace-a-leaked-s3-secret-key","url":"/faq/cloud-accounts/how-do-i-replace-a-leaked-s3-secret-key","category":{"id":"cloud-accounts","title":"Cloud accounts"},"subcategory":{"id":"amazon-s3","title":"Amazon S3"},"question":"My S3 secret key may have leaked. What should I do?","alt_questions":["Rotate AWS access key Storage Studio","Secret Access Key in a screenshot","Change S3 keys in Storage Studio","Compromised AWS key what now","Update S3 secret without re-adding account"],"short_answer":"Treat it as compromised: create a new access key in AWS, paste the new key and secret into the account with Edit, test the connection, then delete the old key in AWS. Your transfers and nickname are kept.","answer_markdown":"Treat it as compromised and replace it now. A secret that appeared in a screenshot, chat or shared terminal output should never be reused.\n\n1. In the AWS console, create a new access key for the user.\n2. In Storage Studio, select the account, click **Edit**, and paste the new **Access Key ID** and **Secret Access Key**. Save.\n3. Click **Test connection** to confirm it works.\n4. Back in AWS, deactivate and delete the old key.\n\nEditing keeps the account, its nickname and its transfers, so nothing else needs redoing.","answer_html":"<p>Treat it as compromised and replace it now. A secret that appeared in a screenshot, chat or shared terminal output should never be reused.</p>\n<ol><li>In the AWS console, create a new access key for the user.</li><li>In Storage Studio, select the account, click <strong>Edit</strong>, and paste the new <strong>Access Key ID</strong> and <strong>Secret Access Key</strong>. Save.</li><li>Click <strong>Test connection</strong> to confirm it works.</li><li>Back in AWS, deactivate and delete the old key.</li></ol>\n<p>Editing keeps the account, its nickname and its transfers, so nothing else needs redoing.</p>","answer_text":"Treat it as compromised and replace it now. A secret that appeared in a screenshot, chat or shared terminal output should never be reused.\n\n1. In the AWS console, create a new access key for the user.\n2. In Storage Studio, select the account, click Edit, and paste the new Access Key ID and Secret Access Key. Save.\n3. Click Test connection to confirm it works.\n4. Back in AWS, deactivate and delete the old key.\n\nEditing keeps the account, its nickname and its transfers, so nothing else needs redoing.","tags":["amazon s3","security","access keys"],"related":[{"id":"cloud-accounts.how-do-i-edit-a-cloud-account","question":"How do I change the details of a cloud account I already added?","url":"/faq/cloud-accounts/how-do-i-edit-a-cloud-account"},{"id":"cloud-accounts.what-aws-permissions-does-storage-studio-need","question":"What AWS permissions should the S3 user for Storage Studio have?","url":"/faq/cloud-accounts/what-aws-permissions-does-storage-studio-need"}],"applies_to":"all","last_reviewed":"2026-10-01","title":"My S3 secret key may have leaked. What should I do? — Storage Studio FAQ","description":"Treat it as compromised: create a new access key in AWS, paste the new key and secret into the account with Edit, test the connection, then delete the old key in AWS. Your transfers and nickname are kept.","crumbs":[{"name":"Home","path":"/"},{"name":"FAQ","path":"/faq/"},{"name":"Cloud accounts","path":"/faq/cloud-accounts/"},{"name":"My S3 secret key may have leaked. What should I do?","path":"/faq/cloud-accounts/how-do-i-replace-a-leaked-s3-secret-key"}],"jsonld":{"@context":"https://schema.org","@type":"FAQPage","url":"https://storagestudio.us/faq/cloud-accounts/how-do-i-replace-a-leaked-s3-secret-key","inLanguage":"en","dateModified":"2026-10-01","mainEntity":[{"@type":"Question","name":"My S3 secret key may have leaked. What should I do?","alternateName":["Rotate AWS access key Storage Studio","Secret Access Key in a screenshot","Change S3 keys in Storage Studio","Compromised AWS key what now","Update S3 secret without re-adding account"],"acceptedAnswer":{"@type":"Answer","text":"Treat it as compromised and replace it now. A secret that appeared in a screenshot, chat or shared terminal output should never be reused.\n\n1. In the AWS console, create a new access key for the user.\n2. In Storage Studio, select the account, click Edit, and paste the new Access Key ID and Secret Access Key. Save.\n3. Click Test connection to confirm it works.\n4. Back in AWS, deactivate and delete the old key.\n\nEditing keeps the account, its nickname and its transfers, so nothing else needs redoing.","url":"https://storagestudio.us/faq/cloud-accounts/how-do-i-replace-a-leaked-s3-secret-key"}}]},"fragment":"<div class=\"wrap fl-wrap\"><div class=\"fl-layout\"><aside class=\"fl-side\" aria-label=\"FAQ topics\"><details open><summary>All topics</summary><ul class=\"fl-tree\"><li><a href=\"/faq/getting-started/\">Getting started</a> <span>70</span></li><li><a href=\"/faq/freeing-space/\">Freeing up space</a> <span>182</span></li><li><a href=\"/faq/moving-folders/\">Moving folders</a> <span>144</span></li><li><a href=\"/faq/apps/\">Apps</a> <span>146</span></li><li><a href=\"/faq/external-drives/\">External drives</a> <span>169</span></li><li><a href=\"/faq/finder-location/\">Finding things in Finder</a> <span>70</span></li><li class=\"fl-open\"><a href=\"/faq/cloud-accounts/\" aria-current=\"true\">Cloud accounts</a> <span>158</span><ul><li><a href=\"/faq/cloud-accounts/#adding-accounts\">Adding an account</a> <span>21</span></li><li><a href=\"/faq/cloud-accounts/#managing-accounts\">Testing, editing and removing accounts</a> <span>15</span></li><li><a href=\"/faq/cloud-accounts/#google-drive\">Google Drive</a> <span>14</span></li><li><a href=\"/faq/cloud-accounts/#google-photos\">Google Photos</a> <span>6</span></li><li><a href=\"/faq/cloud-accounts/#dropbox\">Dropbox</a> <span>6</span></li><li><a href=\"/faq/cloud-accounts/#onedrive\">OneDrive</a> <span>2</span></li><li><a href=\"/faq/cloud-accounts/#box\">Box</a> <span>1</span></li><li class=\"fl-on\"><a href=\"/faq/cloud-accounts/#amazon-s3\">Amazon S3</a> <span>12</span></li><li><a href=\"/faq/cloud-accounts/#s3-compatible\">Other bucket storage (S3-compatible)</a> <span>14</span></li><li><a href=\"/faq/cloud-accounts/#ftp-sftp\">FTP and SFTP servers</a> <span>15</span></li><li><a href=\"/faq/cloud-accounts/#local-folder\">Local folder accounts</a> <span>3</span></li><li><a href=\"/faq/cloud-accounts/#custom-credentials\">Custom Google sign-in credentials</a> <span>5</span></li><li><a href=\"/faq/cloud-accounts/#credentials-security\">Passwords, keys and privacy</a> <span>13</span></li><li><a href=\"/faq/cloud-accounts/#using-accounts\">Using your accounts</a> <span>16</span></li><li><a href=\"/faq/cloud-accounts/#cloud-apps-on-your-mac\">Cloud apps on your Mac</a> <span>8</span></li><li><a href=\"/faq/cloud-accounts/#cloud-files-and-mac-space\">Cloud files and your Mac&#39;s space</a> <span>5</span></li><li><a href=\"/faq/cloud-accounts/#moving-between-clouds\">Moving files between clouds</a> <span>2</span></li></ul></li><li><a href=\"/faq/icloud/\">iCloud &amp; iCloud Photos</a> <span>168</span></li><li><a href=\"/faq/data-transfers/\">Data Transfers</a> <span>119</span></li><li><a href=\"/faq/backups/\">Backups &amp; restore points</a> <span>126</span></li><li><a href=\"/faq/delta-drive/\">Delta Drive, Delta Trust &amp; My Drive</a> <span>125</span></li><li><a href=\"/faq/bridge-devices/\">Bridge &amp; your devices</a> <span>111</span></li><li><a href=\"/faq/duplicates/\">Duplicate files</a> <span>74</span></li><li><a href=\"/faq/junk-yard/\">Junk Yard</a> <span>113</span></li><li><a href=\"/faq/tuhi-assistant/\">Tuhi, your storage assistant</a> <span>105</span></li><li><a href=\"/faq/settings/\">Settings &amp; keep-time</a> <span>88</span></li><li><a href=\"/faq/performance-battery/\">Performance &amp; battery</a> <span>62</span></li><li><a href=\"/faq/privacy-safety/\">Privacy &amp; safety</a> <span>85</span></li><li><a href=\"/faq/licensing-payments/\">Licensing &amp; payments</a> <span>131</span></li><li><a href=\"/faq/troubleshooting/\">Troubleshooting &amp; messages</a> <span>180</span></li><li><a href=\"/faq/comparisons/\">Comparisons &amp; alternatives</a> <span>75</span></li><li><a href=\"/faq/mac-storage-basics/\">Mac storage basics</a> <span>315</span></li></ul></details></aside><div class=\"fl-main\"><nav class=\"fl-crumbs\" aria-label=\"Breadcrumb\"><ol><li><a href=\"/\">Home</a></li><li><a href=\"/faq/\">FAQ</a></li><li><a href=\"/faq/cloud-accounts/\">Cloud accounts</a></li><li aria-current=\"page\">My S3 secret key may have leaked. What should I do?</li></ol></nav>\n<form class=\"fl-search\" action=\"/faq/search\" method=\"get\" role=\"search\" data-fl-search>\n<label class=\"fl-visually-hidden\" for=\"fl-q\">Search the FAQ</label>\n<input id=\"fl-q\" type=\"search\" name=\"q\" value=\"\" placeholder=\"Search 2,816 questions…\" autocomplete=\"off\" spellcheck=\"false\">\n<button type=\"submit\">Search</button>\n<div class=\"fl-suggest\" role=\"listbox\" hidden></div>\n</form>\n<article class=\"fl-entry\">\n<p class=\"eyebrow fl-eyebrow\"><a href=\"/faq/cloud-accounts/\">Cloud accounts</a> · <a href=\"/faq/cloud-accounts/#amazon-s3\">Amazon S3</a></p>\n<h1>My S3 secret key may have leaked. What should I do?</h1>\n<p class=\"fl-short\"><strong>Short answer:</strong> Treat it as compromised: create a new access key in AWS, paste the new key and secret into the account with Edit, test the connection, then delete the old key in AWS. Your transfers and nickname are kept.</p>\n<div class=\"fl-answer\"><p>Treat it as compromised and replace it now. A secret that appeared in a screenshot, chat or shared terminal output should never be reused.</p>\n<ol><li>In the AWS console, create a new access key for the user.</li><li>In Storage Studio, select the account, click <strong>Edit</strong>, and paste the new <strong>Access Key ID</strong> and <strong>Secret Access Key</strong>. Save.</li><li>Click <strong>Test connection</strong> to confirm it works.</li><li>Back in AWS, deactivate and delete the old key.</li></ol>\n<p>Editing keeps the account, its nickname and its transfers, so nothing else needs redoing.</p></div>\n\n<p class=\"fl-meta\">Last reviewed <time datetime=\"2026-10-01\">October 1, 2026</time></p>\n\n<section class=\"fl-related\"><h2>Related questions</h2><ul><li><a href=\"/faq/cloud-accounts/how-do-i-edit-a-cloud-account\">How do I change the details of a cloud account I already added?</a></li><li><a href=\"/faq/cloud-accounts/what-aws-permissions-does-storage-studio-need\">What AWS permissions should the S3 user for Storage Studio have?</a></li></ul></section>\n<p class=\"fl-formats\">Also available as <a href=\"/faq/cloud-accounts/how-do-i-replace-a-leaked-s3-secret-key.md\">Markdown</a> and <a href=\"/faq/cloud-accounts/how-do-i-replace-a-leaked-s3-secret-key.json\">JSON</a>.</p>\n</article></div></div></div>"}