Sync to self-hosted secret managers (PRO + ENTERPRISE)¶
PRO + ENTERPRISE Feature
Sync to self-hosted secret managers requires a PRO or ENTERPRISE tier licence.
CertifyClouds can copy Azure Key Vault secrets and certificates to a secret manager that you run yourself. Three kinds of target are supported:
- HashiCorp Vault, KV version 2 secrets engine
- Infisical, self-hosted
- HTTPS receiver, a small service you run that takes signed messages from CertifyClouds and writes the copies into any system you choose
Copies are pushed from CertifyClouds to the target. Vault and Infisical need no agent, and no target makes a connection back to CertifyClouds. Scheduling, Sync now, exclusions and the queue work as they do for AWS and Google Cloud.
Before you start¶
You need:
- A network route. CertifyClouds connects straight to the manager, never through a proxy, so the subnet CertifyClouds runs in needs a route to it, such as a VPN, ExpressRoute or a peered network. The manager's name must also resolve from that network. See Network Requirements. A network with no route at all to the manager is not supported.
- The address allowed by whoever deploys CertifyClouds. A self-hosted manager can be reached only at an address inside the networks listed in the
SYNC_PRIVATE_EGRESS_CIDRSsetting, public addresses included. An app admin cannot widen this list. With the setting empty, the configuration cannot be saved. See Environment Setup. - An HTTPS address. If the manager's certificate is signed by a private certificate authority, have that authority's certificate in PEM form ready. There is no option to skip certificate checks.
- An admin account in CertifyClouds. Creating and changing configurations, and adding items to the queue, need one.
Secrets and certificates can both be copied. A certificate's private key must be exportable in Key Vault, or it cannot be copied.
HashiCorp Vault¶
1. Create a policy¶
Give CertifyClouds only the paths its copies go to. Replace secret with your KV version 2 mount and certifyclouds with the path prefix you will enter in CertifyClouds.
# Write each copy
path "secret/data/certifyclouds/*" {
capabilities = ["create", "update"]
}
# Read and update each copy's version information
path "secret/metadata/certifyclouds/*" {
capabilities = ["read", "create", "update"]
}
# Only if Delete on remove is switched on: delete one version of a copy
path "secret/delete/certifyclouds/*" {
capabilities = ["update"]
}
# Only for AppRole: read when CertifyClouds' own secret ID expires
path "auth/approle/role/certifyclouds-sync/secret-id/lookup" {
capabilities = ["update"]
}
What each rule is for:
- Data and metadata paths: write each copy, and read the version information that tells CertifyClouds whether a copy is still the one it wrote. The policy has no read on the data path, so CertifyClouds cannot read back the values it wrote.
- Delete path: remove one version of a copy when you remove an item from the queue and Delete on remove is on. See Deletes.
- Secret ID lookup: lets CertifyClouds see the expiry date of its own secret ID and warn you before it ends. It returns details about the secret ID, not the secret ID itself. Without it, CertifyClouds uses the expiry date you enter in the wizard, if any.
With a Vault Enterprise or HCP namespace, create the policy and the sign-in in that namespace.
2. Create the sign-in¶
AppRole (recommended). Restrict where the secret ID and the tokens it produces can be used to the subnet CertifyClouds runs in, and give the secret ID a lifetime. Leave the number of uses of the secret ID unlimited: CertifyClouds signs in again whenever its token ends.
vault write auth/approle/role/certifyclouds-sync \
token_policies=certifyclouds-sync \
token_ttl=1h \
secret_id_ttl=2160h \
secret_id_bound_cidrs="<CERTIFYCLOUDS_SUBNET_CIDR>" \
token_bound_cidrs="<CERTIFYCLOUDS_SUBNET_CIDR>"
vault read auth/approle/role/certifyclouds-sync/role-id
vault write -f auth/approle/role/certifyclouds-sync/secret-id
You enter the Role ID, the Role name (certifyclouds-sync here) and the Secret ID in CertifyClouds. The role name is used to read when the secret ID expires.
Token. For Vault installations without AppRole, create a periodic token with a period of at least 72 hours. CertifyClouds renews it every day, so the 72-hour minimum leaves room for a missed renewal.
Do not set an explicit maximum TTL on the token. It would end at that time whatever CertifyClouds does, and CertifyClouds would warn you before it did.
3. Create the configuration in CertifyClouds¶
Follow Create the configuration and enter:
| Field | Value |
|---|---|
| Address | The Vault address, starting with https:// |
| Namespace (optional) | Vault Enterprise and HCP only. Leave empty for the root namespace |
| Mount | The KV version 2 secrets engine that holds the copies, for example secret |
| CA certificate (PEM, optional) | The authority that signed Vault's certificate, if it is not a public one |
| Sign-in method | AppRole (recommended) or Token |
| Path prefix (on the Naming step) | Every copy is written under this path in the mount, for example certifyclouds |
What a copy looks like¶
A secret is written with its value in one field, value. A certificate is written with three fields: certificate, private_key and, when the certificate has a chain, chain, each as PEM text. The field names are fixed.
Limits to know about¶
- Use one spelling for one Vault. CertifyClouds stops two configurations writing to the same place in a Vault, but it compares the address, namespace and mount as you typed them. The same Vault reached by a host name in one configuration and by its IP address in another is treated as two places, and so is a namespace entered in the Namespace field in one configuration and written at the start of the Mount in another. Nothing that belongs to anyone else is overwritten, but two configurations copying the same Key Vault item would each rewrite the one copy on every run, and Vault would keep a new version each time. Enter the address, namespace and mount the same way in every configuration that uses that Vault.
Infisical¶
1. Create the folder¶
Create the folder the copies will go to in your project and environment, for example /certifyclouds. CertifyClouds does not create it, and the check fails until it exists. The root folder / also works.
2. Create a machine identity¶
Create a machine identity that signs in with Universal Auth, add it to the project, and note its Client ID and Client secret. If your sign-in belongs to a specific organisation, note its slug as well.
3. Choose the identity's access¶
On a self-hosted Infisical without a paid plan, custom project roles are not available. The smallest built-in role that can write secrets is member, and it can also read secret values. So on that setup the identity CertifyClouds signs in with is allowed to read your secrets in the project. CertifyClouds itself never asks Infisical for a value: every read it makes asks for the value to be withheld. It only needs to know a secret's version.
If you have Infisical Enterprise, create a custom project role instead, limited to the environment and folder CertifyClouds uses, that can describe, create, edit and delete secrets but not read their values, and give the identity that role. Delete is needed only if Delete on remove is on.
4. Create the configuration in CertifyClouds¶
Follow Create the configuration and enter:
| Field | Value |
|---|---|
| Site URL | Your Infisical address, starting with https:// |
| Project ID | The project that holds the copies |
| Environment | The environment slug, for example prod |
| Folder | The folder for the copies, for example /certifyclouds |
| Organisation slug (optional) | Only needed if your sign-in belongs to an organisation |
| CA certificate (PEM, optional) | The authority that signed Infisical's certificate, if it is not a public one |
| Client ID and Client secret | From the machine identity |
Infisical cannot tell CertifyClouds when a client secret expires. If your client secret has an end date, enter it in Credential expires on (optional) so CertifyClouds can warn you before it ends.
What a copy looks like¶
- A secret is one Infisical secret holding the value.
- A certificate is one Infisical secret, named like the Key Vault certificate. Its value is the whole bundle as PEM text: the certificate, then the chain if there is one, then the private key. An application that needs the certificate and key as separate values, such as a Kubernetes TLS secret, has to split the text at the
-----BEGINlines itself. Most web servers and load balancers accept the combined file. - Names are one word: an Infisical name cannot contain
/, so use a hyphen. A name can be at most 100 characters.
Limits to know about¶
- Late outside edits can be overwritten. Infisical cannot refuse a write that has become out of date. CertifyClouds checks the secret just before each write, but a change made in the moments between that check and the write can be overwritten.
- Approval policies stop the sync. If an Infisical secret protection policy holds changes for approval, the sync fails with a sentence asking you to exempt the CertifyClouds identity from the policy, or exclude the copies' folder from it.
HTTPS receiver¶
For any other secret manager, you run a small receiver. CertifyClouds sends it a signed HTTPS message for each check, write and delete, and your receiver writes the copy into your own system. The messages, the answers and what your receiver must do are on the HTTPS receiver contract, which also holds a reference receiver to start from.
1. Run a receiver¶
Write your receiver to the contract, or copy the reference receiver and replace its in-memory store with writes into your system. Your receiver must:
- check the signature of every message, and refuse a missing or wrong one, or one signed more than five minutes ago or ahead;
- answer a repeated message with the same answer, without applying it again;
- never apply a write that is neither create-only nor tied to the version CertifyClouds expects, and never apply a delete that is not tied to that version;
- give every write a new version that never repeats for a name;
- accept only the names CertifyClouds sends, and answer within 30 seconds, uncompressed, without redirecting.
The connection check cannot confirm any of this: a receiver that answers every message with success passes it. Checking the signature is your receiver's job.
Serve it over HTTPS at an address CertifyClouds can reach. If the certificate is signed by a private certificate authority, have that authority's certificate in PEM form ready.
2. Create the signing secret¶
The signing secret is whsec_ followed by the base64 of at least 24 random bytes:
Give the same secret to your receiver and enter it in CertifyClouds. Anyone who has it can send messages your receiver will accept, so keep it as you would any other credential.
3. Create the configuration in CertifyClouds¶
Follow Create the configuration and enter:
| Field | Value |
|---|---|
| Endpoint URL | Your receiver's address, starting with https://, for example https://receiver.example.internal/hooks/certifyclouds. Every message is sent to this URL |
| CA certificate (PEM, optional) | The authority that signed your receiver's certificate, if it is not a public one |
| Signing secret | The secret from step 2 |
| Bearer token (optional) | Sent with every message, for a receiver behind an API gateway. It does not replace checking the signature |
If you want CertifyClouds to warn you before the signing secret or bearer token is due to change, enter the date in Credential expires on (optional).
What a copy looks like¶
Where and how your receiver stores a copy is up to you. CertifyClouds sends:
- A secret as
value, the secret's text. - A certificate as three PEM texts:
certificate,privateKeyand, when the certificate has a chain,chain. The private key is not encrypted. - With each, the Key Vault name, item and tenant it came from, which your receiver stores and returns when asked. See the contract.
Limits to know about¶
- No "In this vault" list. CertifyClouds cannot list what a receiver holds.
- Deletes cannot be undone by CertifyClouds. With Delete on remove on, what your receiver does with a delete is up to its own code, and CertifyClouds cannot undo it. See Deletes.
- Names are one segment. A receiver name cannot contain
/, so use a hyphen. - The endpoint URL takes no username, query string or fragment. Its path can use letters, digits, full stops, underscores, hyphens and
/. - A credential is replaced as a whole. If you enter a new signing secret, enter the bearer token again too, or the saved bearer token is removed.
Create the configuration¶
- Go to Automation and open the Replication & Sync tab.
- Click New sync configuration. The target chooser opens. Choose HashiCorp Vault, Infisical or HTTPS receiver.
- Work through the steps: Connection, Credential, Naming, Check, Behaviour and Review. Review lists every value you entered except secret values, which show only as new or kept.
- Click Save sync configuration. Saving does not copy anything yet.
If you are viewing All tenants, the Connection step has an Owner field: choose the tenant the configuration belongs to.
Credentials are stored encrypted and never shown again. When you edit a configuration, leave a credential empty to keep the saved one.
The connection check¶
The Check step runs Check connection, which copies nothing and writes nothing. It tests, in order:
| Stage | What it confirms |
|---|---|
| Name lookup | The address resolves |
| Network policy | The address is in a network your administrator allowed |
| Connection | The server accepts connections |
| Secure connection (TLS) | The certificate is trusted |
| Sign-in | The credential is accepted |
| Permissions | CertifyClouds can write where the copies go |
Continue stays off until every stage passes, and the same check runs again when you save. On Vault, the permissions stage confirms the data and metadata paths under your path prefix, and the delete path if Delete on remove is on. On Infisical it confirms the sign-in works and the folder exists and can be read. It cannot confirm write permission, because Infisical can only show that by writing: the first copy confirms it, and the first removal confirms delete permission. On an HTTPS receiver, the sign-in stage sends one signed test message and passes when the receiver answers it with success; the permissions stage then shows "The receiver answered the test request." Nothing more is checked: whether the receiver checks signatures, and what it does with a write or a delete, is up to its own code.
You can run the check again at any time with Check connection on the configuration's card. The configuration's page shows when it last ran and whether it passed, under Last connection check.
Behaviour¶
| Setting | Meaning |
|---|---|
| Sync interval | How often each item is checked: every hour, every 4 hours or every 24 hours. The default is every 24 hours |
| Update this copy right after a rotation | On by default. See Copies after a rotation |
| Delete on remove | Off by default. See Deletes |
There is no overwrite setting. If an item already exists at the target, or someone edits a copy there, CertifyClouds stops and asks you before writing. See Conflicts.
Add items to the queue¶
- On Automation → Replication & Sync, click Add to sync queue. Select a single tenant first: items cannot be added while All tenants is selected.
- Tick the secrets or certificates to copy.
- Choose where to copy them in the list beside the add button. Self-hosted configurations are listed under Self-hosted secret managers, each with its name and address.
- Click the add button, which shows how many items are selected, for example Add 3 to Queue.
Naming¶
A copy is named by the Naming pattern, where {vault} and {secret} are replaced with the Key Vault name and the item name.
| Manager | Default pattern | Example for kv-prod-eu / db-password |
|---|---|---|
| HashiCorp Vault | {vault}/{secret}, under the Path prefix | certifyclouds/kv-prod-eu/db-password |
| Infisical | {vault}-{secret}, in the Folder | kv-prod-eu-db-password |
| HTTPS receiver | {vault}-{secret} | kv-prod-eu-db-password |
- Names can use letters, digits, full stops, underscores and hyphens. On Vault,
/separates the parts of a path. On Infisical and an HTTPS receiver there is no/. - The prefix and pattern together must be 100 characters or fewer, and CertifyClouds checks this when you save. Every name they create must also fit the target: 255 characters on Vault, 100 on Infisical and 255 on an HTTPS receiver. A name that turns out too long is refused when that item is synced, with a message asking you to rename it.
- Two items cannot be copied to the same name. If another sync item already writes to a location, change the name or prefix so each has its own.
- To give one copy a different name, open its row's More actions menu, choose Edit sync item and change Target name. Once an item has been copied its name is locked: to move the copy, remove the item and add it again.
Settings that lock¶
Once a configuration has copies, the settings that decide where they are written can no longer be changed, and the Naming step is locked too:
- Vault: Address, Namespace, Mount and Path prefix
- Infisical: Site URL, Project ID, Environment and Folder
- HTTPS receiver: Endpoint URL
To use a different location, create a new configuration. Settings that decide whom CertifyClouds trusts, such as the CA certificate, Vault's AppRole mount path and the Infisical organisation slug, can still be changed after copies exist. Changing any of them, or any location setting, needs the credential entered again, so a saved credential is only ever sent to the address it was saved for.
Conflicts¶
CertifyClouds never overwrites something it did not write. It stops, marks the item Conflict, and waits for an admin when:
- the target already holds an item at the location the first time an item is copied. On Vault this includes a path whose latest version was deleted, even by CertifyClouds' own Delete on remove;
- a copy has changed since CertifyClouds last wrote it;
- a copy CertifyClouds wrote has been deleted at the target.
The sync item's page shows which of these happened, under Reason. On Infisical and an HTTPS receiver, a copy that shows a newer version than CertifyClouds recorded reads "This copy changed since CertifyClouds' last recorded write. It may have been edited outside CertifyClouds, or by a CertifyClouds write whose answer was lost". Neither can tell the two apart, so the item also stops after a write whose result CertifyClouds did not receive.
On the same two targets, a first write that finds an item already there, marked as copied from this same Key Vault item, reads "The target already has an item at this location that names this Key Vault item as its source. It may be a CertifyClouds write whose answer was lost, or a copy made outside CertifyClouds". On an HTTPS receiver this happens when your receiver applied a first write but its answer did not reach CertifyClouds.
To continue, an admin opens the sync item's Allow overwrite action. The Overwrite target item? window shows the source and target versions, when the target last changed and who the copy was created by (Copy created by: CertifyClouds, or not). CertifyClouds does not read the stored value at a self-hosted target, so it cannot tell you whether the content differs. Click Overwrite to let the next sync replace it. Until that sync has run, the item reads Overwrite allowed. If the target cannot be reached at that moment, the acknowledgement is refused until it can be.
Deletes¶
When you remove an item from the queue and Delete on remove is on, CertifyClouds also deletes its copy at the target, but only if the copy is still the version CertifyClouds wrote. Otherwise the copy is kept and the removal reports why. An item that already existed at the target, and that CertifyClouds took over after you chose Overwrite, is never deleted, because CertifyClouds did not create it. Deleting a configuration works the same way. With Delete on remove off, copies stay where they are and you delete them yourself if they are no longer wanted.
-
HashiCorp Vault: only that one version is deleted. Other versions and the path's metadata stay, and you can restore the version in Vault with
undelete:If you add the same item to the queue again, CertifyClouds stops once at the deleted path and an admin allows the overwrite.
-
Infisical: CertifyClouds cannot undo this delete; an Infisical admin may be able to restore it. Leave Delete on remove off unless you accept that.
-
HTTPS receiver: CertifyClouds asks your receiver to delete the copy, naming the version CertifyClouds wrote, and your receiver refuses if the copy has changed since. What the delete does is up to your receiver, and CertifyClouds cannot undo it. Leave Delete on remove off unless you accept that, or have your receiver keep a copy you can restore.
Credential expiry¶
The configurations card shows when the credential and the CA certificate expire, with dates inside the warning period in amber, and CertifyClouds warns you before the credential ends.
- Vault AppRole: the expiry is read from Vault when the lookup rule above is in the policy.
- Vault token: a periodic token has no fixed end and is renewed every day.
- Infisical and HTTPS receiver: the date you entered, if any. To change or clear it, edit the configuration: you do not need to enter the credential again.
To replace a credential, edit the configuration and enter the new one.
After you replace the credential, the CA certificate or a sign-in setting, CertifyClouds checks that each copy is still its own before it writes to it again, because a different credential can reach a different store at the same address. A copy that is still at the version CertifyClouds last wrote and names its Key Vault item as its source carries on as before. CertifyClouds writes that name with every copy; an HTTPS receiver must return the stamps it was sent for it to be seen. A copy without the name stops as a conflict once and waits for Allow overwrite: an HTTPS receiver that returns no stamps, or a HashiCorp Vault copy whose value was written but whose naming request failed and has not yet been repaired by a later sync. An overwrite you had allowed before the change must be allowed again.
If two people save the same configuration at the same moment, the second save is refused with a message to reload and make the change again.
Certificates and private keys¶
A certificate copy contains the certificate's private key. Anyone who can read the copy at the target can read the key, so limit read access to that path or folder in the manager, or to wherever your receiver stores it. Certificates whose private key is not exportable in Key Vault cannot be copied.
See what's already in your vault¶
CertifyClouds can list everything a HashiCorp Vault mount or an Infisical environment holds under a folder you choose, not only the copies it wrote. You see secrets nobody manages, copies left behind after a sync item was removed, and copies whose Key Vault item has gone. On Vault it needs one extra read-only permission. On Infisical it is off until you turn it on in the configuration. CertifyClouds lists names and version details only: it never reads a value.
What you get¶
On Automation → Replication & Sync, click a configuration's name to open its page. The In this vault card lists each item under the folder:
| Column | Shows |
|---|---|
| Path | Where the item sits in the mount or environment |
| Status | Whether CertifyClouds manages it, see below |
| Version | The item's current version |
| Last changed | When its current version was written. On Infisical the column is called Last updated: when the item was last edited in any way, not only when its value changed, so an edit to its comment alone counts too |
| Key Vault source | For a CertifyClouds copy, the Key Vault item it is copied from and when that item expires |
Click a copy's row to open its sync item. Filter with All, CertifyClouds copies, Needs attention, Left behind, Not managed and Older than N days, each with its count, or use Search paths. The filter and the search are kept in the page address, so a reload or a shared link opens the card the same way. When nothing matches, Clear filters clears both.
| Status | Meaning |
|---|---|
| CertifyClouds copy | Written by this configuration. It shows the same sync status as the Sync items table |
| CertifyClouds copy (another configuration) | Written by another of your sync configurations. Click it to open that configuration |
| Carries CertifyClouds' stamp, no longer managed | CertifyClouds stamps every copy it writes. This item carries the stamp, but no sync item writes to it any more, for example because its item was removed from the queue with Delete on remove off. It is still in the vault |
| Not managed by CertifyClouds | Something CertifyClouds did not write, or a copy whose latest version Delete on remove deleted, shown with Latest version deleted |
A copy someone edited in the vault after CertifyClouds last wrote it shows Changed in the vault as its status until its next sync, instead of In sync; if its sync item needs attention for another reason, that status stays and Changed in the vault is shown beside it. A copy can also carry Key Vault source gone, when the Key Vault item it is copied from is no longer found. Vault deletes this version on a date shows a version Vault is set to delete, and Details not readable an item the permission lets CertifyClouds list but not describe. Rotated by Infisical marks an Infisical secret that Infisical rotates itself.
- Needs attention gathers this configuration's copies whose sync needs action or that carry either flag, and every left-behind item.
- Older than N days gathers items not managed by CertifyClouds whose last change is older than Maximum secret age in Settings → Advanced → Compliance policy, 90 days by default. Items whose details could not be read, or whose latest version is deleted, are not counted.
Add the permission¶
On Vault, until the permission is added, the card says CertifyClouds is not allowed to list the vault, names each missing line, and lists nothing. The card shows the exact permission text for your mount and folder, with a button to copy it.
HashiCorp Vault¶
Add the lines to the policy CertifyClouds already signs in with, or attach them as a second policy to the same role. No new credential is needed. For the folder apps in the mount secret, they read:
# CertifyClouds: list names and read version details under apps/.
# Grants no access to secret values (those live under secret/data/).
path "secret/metadata/apps" {
capabilities = ["list", "read"]
}
path "secret/metadata/apps/*" {
capabilities = ["list", "read"]
}
For the whole mount, the two paths are secret/metadata/ and secret/metadata/*. The permission covers only the metadata paths, which hold names and version details. CertifyClouds sends no request for a value while it reads the vault.
Then click Refresh on the card.
Infisical¶
Listing an Infisical vault is off until you turn on List what is in this vault in the configuration's settings. While it is off, CertifyClouds does not read the vault for this view. Turning it off again forgets the list CertifyClouds stored.
CertifyClouds lists with the machine identity it already uses for sync, wherever that identity can see the folder. On Infisical plans without custom roles, where the identity has the built-in member role, nothing needs adding. If you use custom roles and the identity cannot yet see the folder, add these two rules to its role, or give it a second custom project role that holds them. Once listing is on and until the first read, the card shows them for your environment and folder, with a button to copy them. For the folder /apps in the environment prod, the rules read:
Rule 1 on Secrets
Allow: describeSecret
Never allow: readValue, read (legacy)
Environment: prod
Secret path: equals /apps
Rule 2 on Secrets
Allow: describeSecret
Never allow: readValue, read (legacy)
Environment: prod
Secret path: matches glob /apps/**
Add them as two separate rules, not as two conditions in one rule, which would match nothing. Give neither rule a secret name or tag condition, and add no Secret folders permission: listing does not need one.
CertifyClouds shows only what this identity may see. Infisical leaves out, without saying so, any secret the identity may not describe, so the list can be shorter than what the vault holds. For the same reason, removing the rules does not stop the listing while the identity can still see secrets through its sync access: to stop it, turn List what is in this vault off.
After you change the role in Infisical, the change can take up to a minute to reach CertifyClouds' reads. Wait a minute, then click Refresh.
Choose the folder¶
Set Folder to show in 'In this vault' (optional) in the Connection step of the configuration. Leave it empty to list the whole mount, or on Infisical the whole environment. On Infisical the field shows once List what is in this vault is on. It does not lock once copies exist, and changing it does not ask for the credential again. Changing it clears the list until the next read.
Choose folders that do not overlap. When two configurations list overlapping folders of the same vault, an item in both is listed by each, and counted and alerted on twice.
When the vault is read¶
- Once a day for each enabled configuration, while scheduled sync is on. On Infisical, only while List what is in this vault is on. See Automatic Sync.
- With scheduled sync off, only Refresh reads it. Anyone can see the card; Refresh needs an admin.
- One vault read runs at a time. While one runs, Refresh is unavailable and the card shows that a read is running.
Limits¶
- 10,000 items per read. Past that, the card lists the first 10,000 and says the read was partial. Choose a narrower folder.
- 32 folder levels below the folder you chose, on HashiCorp Vault. Deeper folders are counted as folders that could not be opened, and the read is partial. Infisical has no such limit.
- 10 minutes per read. A longer read stops and the card shows what it listed.
- A partial read shows what it listed and removes nothing from the list. An item deleted from the vault leaves the list once two complete reads in a row no longer find it.
- A name not seen for 14 days is removed, whether or not a read ran.
- Infisical sends a folder in one answer. If that answer is too large to read, nothing of it is listed: the card keeps the earlier list and asks for a narrower folder.
- When the Vault permission is removed, the next read removes every name and the card lists nothing. On Infisical, turning List what is in this vault off removes every name at once.
What is not included¶
- Values. CertifyClouds never reads one for this view.
- On Infisical, CertifyClouds asks for every value to be left out of the answer, and it cannot stop a server from sending a value it was told not to send. If any item comes back with its value, CertifyClouds discards the whole answer, stores nothing, and the read fails. The listing is tested with Infisical v0.167.6, which leaves values out as asked.
- The list is not available to the MCP Connector and is not attached to evidence packages. The two compliance checks below reach both as scores and counts only, never as item names.
Alerts and compliance¶
- Sync alert rules gain two statuses, Left behind and Source gone. Each alert says how many items, in which configuration, and never names one. See Status scope.
- The Sync compliance score gains two checks, which count only once the permission is added, or on Infisical once listing is on. See Self-hosted vault rules.
- Because Infisical can leave items out without saying so, an Infisical read can fail either check but never pass it on its own. When only Infisical vaults are counted and nothing is wrong, both checks read not evaluated: a pass comes only from HashiCorp Vault reads.
Troubleshooting the vault read¶
| Message | What to do |
|---|---|
| CertifyClouds is not allowed to list this vault. Add the permission shown below, then click Refresh | Add the permission text from the card to the Vault policy, or the rules to the Infisical identity's role, then click Refresh |
| This folder holds more than 10,000 items. CertifyClouds listed the first 10,000. Choose a narrower folder in this configuration's settings | Set a narrower Folder to show in 'In this vault' |
| Reading this vault took longer than 10 minutes, so only part of it is listed. Choose a narrower folder in this configuration's settings | Set a narrower folder, or check how quickly Vault answers from CertifyClouds' network |
| Some folders or items could not be listed or described with the permission CertifyClouds has. Check that its listing permission covers every folder under the one listed, or choose a narrower folder in this configuration's settings. Then click Refresh | A policy denies CertifyClouds part of the folder, or folders sit more than 32 levels deep. Widen the permission, or set a narrower Folder to show in 'In this vault', then click Refresh |
| Some items were left out of the list because their names are too long | These names are longer than CertifyClouds can store, so none of them can be a CertifyClouds copy |
| The read was stopped before it finished, so only part of the vault is listed. Refresh to read it again | Click Refresh |
| The folder was changed while the vault was being read, so the result was discarded. Refresh to read the new folder | Click Refresh |
| The folder to list was not found at the target. Check the folder in this configuration's settings | Infisical: create the folder in the configuration's environment, or correct Folder to show in 'In this vault' |
| The list of this folder was too large to read in one answer. Choose a narrower folder in this configuration's settings | Infisical: set a narrower Folder to show in 'In this vault' |
| The server sent back secret values that CertifyClouds did not ask for. They were discarded and nothing was stored. Check the server's version and the permissions given to CertifyClouds | Your Infisical server sent values although CertifyClouds asked it not to. Check its version: the listing is tested with v0.167.6 |
| The server answered in a way CertifyClouds does not understand. Check the address and the mount or project in this configuration | Check that the mount is a KV version 2 secrets engine |
| The vault could not be read. Try again later | Click Refresh later. If it keeps failing, run Check connection |
After a failed read, the card keeps showing what the last complete read listed, and says when that read was, until those names are 14 days old.
Troubleshooting¶
The connection check stops at the first stage that fails and shows a sentence and a code.
| Stage | Message | What to check |
|---|---|---|
| Name lookup | The address's host name could not be found | The name must resolve from CertifyClouds' network. See DNS |
| Network policy | This address is not in a network your administrator allowed for CertifyClouds | Add the manager's address to SYNC_PRIVATE_EGRESS_CIDRS on the deployment |
| Connection | CertifyClouds could not connect to HashiCorp Vault (or Infisical, or your HTTPS receiver) | The address and port, that the manager is running, and the route and the firewall between CertifyClouds and the manager's port |
| Connection | CertifyClouds reached the manager, but it answered that it is unavailable | Start the manager, and unseal HashiCorp Vault |
| Secure connection (TLS) | The server's certificate is not signed by the CA you supplied | Paste the CA that signed the manager's certificate, and use the address the certificate names |
| Sign-in | HashiCorp Vault did not accept the credential | The role ID, secret ID and AppRole mount path, or the token. A secret ID or token may have expired, been revoked or used up its uses |
| Sign-in | Infisical did not accept the sign-in | The client ID and client secret, and the organisation slug if you entered one |
| Sign-in | Your HTTPS receiver did not accept the signed test request | The signing secret must be the same on both sides, the bearer token must be what your gateway expects, and the receiver's clock must be within five minutes of the right time |
| Sign-in | Your HTTPS receiver, or a gateway in front of it, refused the test request | Your receiver or its gateway refused the test message as forbidden. Check its logs and what it allows |
| Permissions | The credential cannot write where the copies go | The Vault policy paths under the path prefix, and the delete path if Delete on remove is on |
| Permissions | The machine identity cannot read the folder | The Infisical identity's access to the project, environment and folder |
| Permissions | The project, environment or folder was not found | The Infisical project ID, environment slug and folder. CertifyClouds does not create the folder |
Each message also says what to check, so you can usually act on it without this table.
Other messages you may meet during a sync:
| Message | What to do |
|---|---|
| The target answered that it is unavailable. Check that it is running and, for HashiCorp Vault, unsealed | Start or unseal the manager. The sync resumes on its next run |
| The project, environment or folder these copies go to was not found at the target | Create the folder or check the project and environment names |
| The target holds this change for approval | Exempt the CertifyClouds identity from the Infisical approval policy, or exclude the folder from it |
| The copy was kept because CertifyClouds did not create it or it was changed outside CertifyClouds | Delete the copy in the manager yourself if you no longer want it |
| This name is too long for the target | Shorten the prefix or pattern, or give that sync item a shorter Target name with Edit sync item |
| The certificate's private key is not exportable, so it cannot be copied | Make the key exportable in the Key Vault certificate policy, or do not sync that certificate |
| The receiver says it no longer accepts this copy. Check that the receiver still serves this address | Your HTTPS receiver answered that the address is gone. Check the Endpoint URL and your receiver |
| The target rejected the item's name or format. Check the item's name and size against what the target accepts, and the naming settings of this configuration | Your HTTPS receiver refused the message as not valid, or as too large. See the contract |
| The target cloud could not complete the request. Try again. If it keeps failing, check the target's status and this configuration's settings | Your HTTPS receiver redirected, answered with an error, or sent an answer CertifyClouds could not read: one that is not a JSON object, is compressed, is larger than 1 MiB or has no valid version. See the contract |
If a sign-in is refused during a sync, the rest of that configuration's sync items are skipped for the run and stay due, so a refused credential is not presented again for every item.