The same agent inventories the certificates and keys in your cloud accounts. It reads metadata only: which certificates, keys and secrets exist, what algorithms and key sizes they use, when they expire, and whether they rotate or renew. It never reads a secret value, and never reads or exports key material.
That limit is in the agent, not in the permissions you grant. The code has no call that returns a secret value, exports a certificate or uses a key; the results it sends have no field that could carry one; and automated tests fail if either changes. Your cloud credentials stay on the machine you run the agent on — Quantinus never receives or stores them.
It is the same binary you download from your dashboard's Connectors page, so you can either add a cloud account to an agent that already scans your network, or give the cloud its own agent and key — on a small virtual machine inside the cloud account, for instance, which keeps cloud credentials off your on-premises machines. Either works; it is your choice.
The commands on this page use the Linux file name. Use the name of the file
you downloaded; on Windows that is .\quantinus-agent-windows-amd64.exe.
Amazon Web Services — ACM, KMS and Secrets Manager
Permissions. Create a read-only IAM role or user for Quantinus and allow these actions:
- ACM:
acm:ListCertificates,acm:DescribeCertificate,acm:GetCertificate - KMS:
kms:ListKeys,kms:DescribeKey,kms:GetKeyRotationStatus,kms:ListAliases,kms:ListResourceTags - Secrets Manager:
secretsmanager:ListSecrets - Regions:
ec2:DescribeRegions— only if you use--aws-all-regions
acm:GetCertificate returns the public certificate body, which the agent
hashes locally so that one certificate found both in ACM and on a server counts once
instead of twice. The private key is acm:ExportCertificate, a different
action the agent cannot call; deny it in the same policy, along with
secretsmanager:GetSecretValue and kms:Decrypt.
sts:GetCallerIdentity, which is how the agent learns the account id, needs no
permission.
Turning it on. Setup does not ask about AWS: pass --aws,
or add "aws": {"enabled": true} to the config setup saved. Credentials come
from the standard AWS chain on that machine — a profile, SSO, an instance or task
role. Scope the scan with --aws-profile (comma-separated, one account each,
all in a single scan), --aws-regions, --aws-all-regions and
--aws-services acm,kms,secretsmanager.
# Verify the permissions. Sends nothing to Quantinus
./quantinus-agent-linux-amd64 --aws --aws-profile quantinus --submit=false
It reports what it read — [aws] 142 resource(s) across 3
account/region scope(s) — and names any region or service it could not read
as a gap, so a forgotten permission never looks like an account with nothing in it.
Two things to expect in the inventory. A Secrets Manager secret is not an asset of its own: it becomes a location on the KMS key that encrypts it, which is what lets a key tell you how many secrets it protects. And AWS-managed KMS keys raise no finding at all, because you cannot rotate, re-spec or migrate them.
Giving the agent AWS credentials
The agent signs in with credentials already on its own machine. There is nowhere in the Quantinus dashboard to put one, and none is ever sent to us.
On an EC2 instance, copy nothing. Attach the read-only role above to the instance as an instance profile. The agent finds it by itself, and no credential is written to disk. Prefer this wherever you can.
Anywhere else, use a named profile. Create an access key for the read-only user, then:
aws configure --profile quantinus
That writes ~/.aws/credentials. Then scan with
--aws --aws-profile quantinus.
A scheduled scan needs the credentials somewhere else. A machine-wide scheduled scan runs as a service account, which cannot read your home folder. Put a credentials file where that account can read it:
- Windows:
C:\ProgramData\Quantinus\aws-credentials - Linux and macOS:
/etc/quantinus/aws-credentials
Same format as ~/.aws/credentials, and it must contain the profile you name
with --aws-profile. A machine-wide scan uses that file and says so in its
output:
[aws] using the credentials file /etc/quantinus/aws-credentials
The scheduled task's account can read that file and cannot change it. If you skip this step the interactive scan works and the nightly one quietly finds no AWS account.
Azure Key Vault — keys, certificates and secrets
Permissions. Key Vault has two permission models, and a vault uses one or the other. The agent scans both.
- Vaults on Azure RBAC: the built-in
Key Vault Readerrole, on the subscription or on single vaults. - Vaults on access policies: an access policy for the identity with
Keys
get,list,getrotationpolicy; Certificatesget,list; Secretslist. Key Vault Reader does nothing on these vaults. Withoutgetrotationpolicythe scan says so and reports those keys as not checked for rotation, rather than as not rotating. - To find your vaults for you, the identity also needs to list them.
Either a custom role holding
Microsoft.Resources/subscriptions/readandMicrosoft.KeyVault/vaults/readand nothing else — the agent calls this the Discovery role, and you create it yourself, there is no built-in role by that name — or the built-inReaderrole, which can read every resource in the subscription. With neither, list your vaults yourself with--azure-vaults; the agent then scans only those and cannot find one you forgot.
Do not grant Key Vault Secrets User or
Key Vault Certificate User, or Secrets get in an access policy.
Each can read the contents of secrets, including the private keys behind certificates, and
the scan needs none of them. A new role assignment takes a few minutes to apply, so a scan
run straight after assigning one can still report access denied.
Signing in. One method, chosen once, with no fallback: on an Azure
virtual machine the machine's managed identity
(--azure-auth managed-identity), anywhere else a service principal with a
certificate (--azure-auth certificate with --azure-tenant-id,
--azure-client-id and --azure-client-cert). Those are the two sign-in
methods; if you need another, ask us about your use case. Setup asks Scan Azure Key Vault
too?, saves the answer, then reads every vault once and prints what it can and
cannot read, with the fix for each — that check is the quickest test of your
permissions, and it sends nothing to your dashboard. Scope the scan with
--azure-vaults, --azure-subscriptions,
--azure-services keys,certificates,secrets and
--azure-cloud.
# Verify again after setup. Sends nothing to Quantinus
./quantinus-agent-linux-amd64 --azure --submit=false
It reports what it read — [azure] 86 object(s) in 4
vault(s) — and a line for every vault or object type it could not, naming the
fix for that vault's permission model. A vault it cannot read is a gap, never an empty
vault. If you use Managed HSM, ask us about your use case. Azure Government and Azure China are reachable
with --azure-cloud; tell us if you run there and we will check it with you.
How the agent signs in to Azure
quantinus-agent setup asks, and pins one method. There is no client-secret
option and no fallback chain, so a run either signs in the way you chose or stops and says
why.
A managed identity, if the machine runs in Azure and has one. Setup finds it and offers it. Nothing is stored and nothing expires — assign the roles above to that identity.
A certificate, otherwise. Setup asks for the directory (tenant) ID and the application (client) ID of an app registration, and for a PEM file holding the certificate and its private key. It keeps its own copy and then offers to delete the file you pointed it at. Say yes, and delete any other copies you made.
On a schedule, a certificate needs --run-as system. A new
machine-wide schedule runs as a virtual account by default, and that account cannot read a
certificate kept in a person's profile, so the scan is refused rather than failing silently
every night. Either schedule it with --run-as system, or use a managed
identity.
Your dashboard's Connectors page has the downloads, your agent keys and the setup commands for your own account.