Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

Security

S3 access key security: protect the credential that protects the bucket

Published August 2026 · 8 min read

An S3 access key is an application credential, not a harmless identifier. The access half can often appear in logs, but the secret half must be treated like a production password because anyone who obtains both can exercise whatever actions the policy allows.

Give each workload its own identity

Do not copy one access/secret pair into every server and backup job. Separate identities make it possible to revoke one compromised system without interrupting every application using the account.

A per-service identity also produces clearer audit evidence because requests can be attributed to a narrower operational purpose.

Scope actions and resources

A backup writer may need object upload, multipart operations, listing and restore reads for one bucket. It normally does not need to create projects, enumerate every bucket in the provider account or change another service’s policy.

Start with the smallest practical action set and expand only when a real client operation fails for a understood reason. Broad administrator policies are easier to deploy and harder to contain.

Keep secrets out of source control

Store production secrets in a secrets manager, protected environment file or application-specific credential store with restrictive filesystem permissions. Do not paste them into Git repositories, issue comments or screenshots.

CI systems should inject credentials at runtime. A secret that has entered a public or shared log should be rotated even if the log is later deleted.

Design rotation before the first incident

A safe rotation creates a replacement credential, updates the workload, verifies new requests, then revokes the old credential. Deleting the old key first can turn a security improvement into an outage.

Keep the access-key identifier in service state so the control plane can prove which credential should be revoked without storing the secret again.

Practice emergency revocation

Know how to disable a user or delete credentials independently of deleting the bucket. Suspension and credential revocation should preserve retained data while stopping customer requests.

An incident runbook should define who can trigger revocation, how the customer receives a replacement and what evidence confirms that the old key no longer works.

Next step

Practical S3 access-key security: least privilege, secret storage, separate service identities, rotation, logging, revocation and common credential mistakes.

Explore DotMoose Object Storage

Keep reading

Related guides.

boto3 S3-compatible storage: custom endpoint, put_object and connection tests

Connect boto3 to S3-compatible storage with endpoint_url. Start with a read-only list, then optionally verify put_object with one isolated write/read/delete round trip.

Read the guide

S3 multipart upload explained: part size, retries, checksums and cleanup

Learn how S3 multipart upload works: numbered parts, AWS part-size limits, parallel retries, completion, checksums and cleanup of abandoned uploads.

Read the guide

S3 presigned URLs explained: temporary access without sharing keys

Learn how S3 presigned URLs authorize a specific operation for a limited time, where they help, what they expose and how to use them safely.

Read the guide

More object storage guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move