Skip to content

Credentials & rotation

How should I store my access and secret keys?

Keep them out of source control and shared documents. Use environment variables, your client's credentials file with restricted permissions, or a secrets manager. Your secret key is shown once in your welcome email so you can configure your client — store it securely from there.

What can someone do with my keys?

Your keys grant read access to your data. Anyone holding them can list and download it, so treat them like a password and limit who has them. With a whitelist IP set, they only work from that address; without one, they work from anywhere.

I think my keys were exposed — what do I do?

Rotate them immediately. In the client area, open your service and click Regenerate S3 Credentials. This issues a brand-new access key and secret key. The new keys appear in the S3 Access Credentials panel right away and work immediately; copy them into your client. The old pair stops working at the same moment: anything still using it gets InvalidAccessKeyId until you update it. Your whitelist IP carries over unchanged.

If you use a .strm library, regenerating your keys doesn't change your playback token, so your .strm files keep playing. Put the new keys in rclone.conf before your next sync.

Can I rotate my keys periodically?

Yes — use the Regenerate S3 Credentials button in the client area whenever your policy calls for it. It's self-service: the new pair works immediately and the old one stops at the same moment, so update your clients with the new pair as soon as you rotate. Rotation is limited to 3 times per week.

Should different systems share one key?

Prefer separating credentials by system where you can, so you can rotate one without disrupting the others. If you need multiple credential sets, ask support about options.

Where should I not put my keys?

  • Public or shared Git repositories
  • Client-side code shipped to browsers or apps
  • Plain-text chat messages, tickets, or wikis
  • Screenshots or logs you might share

How do I configure keys safely in my client?

Use the client's credentials file with tight file permissions, or environment variables:

export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY

See client examples for per-tool configuration.

What happens to my keys if I cancel?

Access ends when the service ends. See Cancellation.