ARNscopeDocs

AWS Secrets Manager

Last updated 1 December 2026

Secrets (AWS Secrets Manager) lists the secrets of a profile and region and opens one to show its rotation, replication, versions, resource policy and where it is used. Values are read only when you click Reveal, and hide again on their own.

It is for the questions that come up around a secret: is it rotating, when was it last read, which version is current, which service reads it, and is staging set up like production. Changing a value, rotating now and going back to the previous version are writes, behind Writes and a native confirmation.

Editing an encrypted SOPS file in S3 and deploying it to Secrets Manager is a separate page, SOPS files, in Labs.

The Secrets page for fernwood-prod: views on the left (All secrets, Rotation on, Rotation off, Managed by AWS, Replicas, Not read in 90 days, Scheduled for deletion), the secrets table with when each was last changed and its rotation, and prod/checkout/db open in the inspector with its value hidden until Reveal.

The list

Open Secrets, choose the profile and region, and the secrets load: one paged ListSecrets, metadata only. No value is read to show the list. The table has the Name, Description, Last changed, Last read (Secrets Manager rounds it to the day), Rotation (on with the next date, off, or deletion scheduled) and Tags. A secret created by another AWS service, such as RDS, shows that service as a chip, and a replica of a secret in another region shows replica. Every column sorts, and the table exports.

The Views pane on the left narrows the list, with a count for each:

View Secrets
All secrets Every secret in the region, scheduled deletions included
Rotation on Automatic rotation turned on
Rotation off Never rotated automatically
Managed by AWS Created and managed by another AWS service (RDS, EventBridge and others)
Replicas Read-only copies whose primary is in another region
Not read in 90 days No GetSecretValue in the last 90 days, or never
Scheduled for deletion Recoverable until the recovery window ends

A view with no secrets is hidden. Name, description or tag filters the list as you type; a tag matches as key, value or key=value.

The status bar says when the metadata was listed and that values are never cached. Refresh secrets lists again. If your role cannot list secrets, the page names the actions it needs and offers Copy read policy JSON.

One secret

Select a secret to open it on the right. The title copies the name; right-click it for the ARN, the partial ARN (without Secrets Manager’s six-character suffix, as IAM policies and ECS often use), the console URL and an aws secretsmanager get-secret-value command. Under the title, Changed, Read and Rotation sum it up.

The tabs:

If your role lacks secretsmanager:ListSecretVersionIds or secretsmanager:GetResourcePolicy, only that tab says so; the rest of the secret still opens.

Reveal a value

Nothing is read until you click Reveal. Then ARNscope calls GetSecretValue for that one secret, shows the value, and:

On a production profile, Reveal first asks in a bar: “Reveal prod/checkout/db? CloudTrail records the GetSecretValue under your name. It shows for 30 s and is never saved.”

A JSON value shows as a table of keys, each value masked until you press its own eye; Show all and Mask all do them together, and the copy button next to a key copies its value without showing it. Raw shows the whole text. A binary secret shows its size and base64. With more than one version, the Version menu reveals an older one, such as AWSPREVIOUS.

A secret scheduled for deletion cannot be read. When the read is denied, the message names secretsmanager:GetSecretValue, and kms:Decrypt on the secret’s key when it uses a customer managed key.

The Value tab of prod/checkout/db after Reveal: a table of keys with engine, host and port shown and username, password and dbname still masked, a “re-masks in 28s” countdown, Copy, Update value (off until Writes is on) and Hide.

Find everywhere

Find everywhere searches secret names, descriptions and tags across the profiles and regions you pick, for when you know a secret exists but not in which account. Each profile and region is one ListSecrets, metadata only, at most four at a time and two per profile; a list the page already loaded costs nothing. Stop ends it early.

Results are grouped by profile and region with the matching text highlighted. A scope that could not be searched says why, and the rest still show. Open opens the secret on the page, in a new tab when it is in another profile or region. No value is read.

Compare across accounts

Compare puts two accounts side by side, for example staging/ in fernwood-staging against prod/ in fernwood-prod. Pick a profile, region and name prefix for Left and Right. Secrets pair up by the rest of the name and are marked Only left, Only right or In both; Hide pairs in both leaves only the gaps.

Select a pair and Compare keys: ARNscope reads both current values in its Rust core and returns only the key names, so you see which keys are missing on one side without either value reaching the page. Reveal both to compare values then marks each shared key Same value or Value differs, without showing the values; they are held in memory for 30 seconds. On a production side, both steps ask first, and each read is a GetSecretValue that CloudTrail records.

Compare with prod/ in fernwood-prod on the left and staging/ in fernwood-staging on the right: 7 pairs only on the left, 1 only on the right and 3 in both, and checkout/db open with its six key names in both accounts; values are not compared until both are revealed.

Usages

The Usages tab answers “what reads this secret?” in the page’s profile and region. Scan runs three read-only searches, each with its own result or error:

Source What it finds
ECS task definitions secrets[].valueFrom and private registry credentials in the latest active revision of each family, matched exactly
Lambda environments Environment values that hold the secret’s name or ARN (a heuristic)
RDS master user secrets Instances and clusters whose MasterUserSecret is this secret

Lambda functions and databases open on their own page. No value is read. Code that calls GetSecretValue by name at runtime, other accounts and regions, and infrastructure code are not found, so an empty list never means a secret is safe to delete. The same approach is used for Parameter Store usages.

Change a secret

Three changes are possible, each behind Writes for the profile and region (Writes and confirmations). Each opens an edit dialog with a review of what changes, then a native confirmation that names PRODUCTION when it applies. Every write, cancelled or not, is recorded in the activity log with key names only, never a value.

Update value. Reveal AWSCURRENT, then Update value…. A JSON secret is edited by key: change, add or remove keys, each marked edited, new or removed, with values masked until you show them; keys you don’t touch keep their values. Text replaces the whole value. Put new version… shows the review; the confirmation, “Store a new secret value?”, lists the key names that change and says that Secrets Manager saves a new version, moves AWSCURRENT to it and makes the old one AWSPREVIOUS. If the secret changed since you revealed it, nothing is written. A secret managed by another service (such as RDS) is changed there, so Update value is off for it.

Rotate now… (in the ⋯ menu) runs the secret’s configured rotation immediately instead of at the next scheduled time. The confirmation, “Rotate secret now?”, names the rotation function. The new version is AWSPENDING until the function tests it and moves AWSCURRENT; a failed rotation leaves the current value working. It is off for a secret with no rotation set up.

Restore the previous version… moves AWSCURRENT back to the AWSPREVIOUS version, which undoes the last value change or rotation without writing a value. The confirmation, “Go back to the previous version?”, shows the two version IDs. Nothing is deleted, and the version that was current becomes AWSPREVIOUS, so you can switch back the same way. A rotated database password that was already changed on the database will not match the restored value.

Apps that cache a secret keep the old value until they read it again; ECS tasks read secrets when they start.

Permissions

What Actions
List secrets, Find everywhere, Compare (listing) secretsmanager:ListSecrets
Open a secret secretsmanager:DescribeSecret, secretsmanager:ListSecretVersionIds (Versions), secretsmanager:GetResourcePolicy (Policy)
Reveal a value, compare keys or values secretsmanager:GetSecretValue, plus kms:Decrypt on a customer managed key
Usages ecs:ListTaskDefinitionFamilies, ecs:DescribeTaskDefinition, lambda:ListFunctions, rds:DescribeDBInstances, rds:DescribeDBClusters
Update value secretsmanager:GetSecretValue, secretsmanager:PutSecretValue
Rotate now secretsmanager:DescribeSecret, secretsmanager:RotateSecret
Restore the previous version secretsmanager:DescribeSecret, secretsmanager:UpdateSecretVersionStage

The IAM permission check shows which of these your role has. Use a role without GetSecretValue if you only want to see metadata.

Limitations

Missing something you do with secrets every week? Write to hello@arnscope.com.