Aller au contenu principal
S'applique à :
Cockpit v2Keys & VaultsGovernance

Access policies decide who may use a key at runtime (see Access Policies). The two modules on this page govern the keys themselves:

ModuleAnswersEnforced
Crypto policyWhich algorithms, key sizes, operations and PQC posture are allowed, and how old a key may getSynchronously, at key creation and on encrypt, decrypt, sign and verify calls through the Cockpit key API
Quorum policy (M-of-N)How many administrators must approve a sensitive operation before it runsOn key deletion, vault deletion and vault rotation

Both are created under Administration and bound to a vault or a key from its Policy Bindings card. A key-level binding overrides the vault's; keys without their own binding inherit the vault's policy.

Crypto policies​

A crypto policy is a set of constraints evaluated when a key is created and on every encrypt, decrypt, sign and verify call made through the Cockpit key API. An operation that violates the policy is refused, and the decision is written to the audit log.

SettingEffect
Allowed algorithmsOnly the listed key algorithms may be used
Minimum RSA sizeRSA keys below this size are refused
Allowed EC curvesOnly the listed elliptic curves may be used
Allowed operationsRestrict the key to some of encrypt, decrypt, sign and verify
PQC postureClassical (no requirement), Hybrid (reject pure-classical keys) or PQC only (require post-quantum keys)
Maximum key age + require rotationRefuse use of keys older than the set number of days, forcing rotation
DKE keys

Decrypt requests that Microsoft 365 sends to a DKE service are governed by the service's access policy, not by crypto policies. A crypto policy on the vault still applies when keys are created: Microsoft 365 DKE requires RSA-2048, so a policy that sets a minimum RSA size above 2048 or a Hybrid or PQC-only posture will block the creation of DKE keys in that vault.

Quorum policies (M-of-N four-eyes control)​

A quorum policy requires M approvals from a set of N approvers before a gated operation runs. It is DuoKey's dual-control (four-eyes) mechanism.

SettingDescription
Threshold MNumber of distinct approvals required
Approvers (the N set)Individual users, roles or organisational units
Gated operationsdelete and rotate. Leaving the list empty gates both. Other operation names are rejected, because only these are enforced today.
Approval TTLHow long a request stays open, default 86,400 seconds (24 hours)
Requester may count toward quorumOff by default: the person who asks cannot approve their own request
Policy enabledDisable a policy without deleting it

What is gated​

ResourceOperation
KeyDelete
VaultDelete
VaultRotate
Remarque

Releasing an escrowed S/MIME private key also requires the approvals of a quorum policy; without one, recovery is refused. See the S/MIME documentation.

How an approval works​

1

Request

An administrator starts a gated operation, for example deleting a key. Instead of running it, the Cockpit opens an approval request and the API answers 202 Accepted with quorum_required: true and a request_id.

2

Vote

Approvers open Administration → Quorum Approval Requests. Only members of the request's approver set can vote, each only once, and they can approve or reject with a comment.

3

Execute

Once M approvals are recorded, the administrator runs the operation again. It executes and the approval is consumed, so it cannot be replayed.

4

Expire

A request that does not reach M approvals before its TTL expires and must be opened again.

Request statuses: pending, approved, rejected, expired, consumed.

Example

Two-person key deletion: threshold 2, approvers = role KeyCustodian, gated operation delete, TTL 24 hours, requester may not approve. Bind it to the vault holding your DKE keys: no single administrator can delete a DKE key, and therefore no single administrator can make DKE-protected documents unreadable.

API​

EndpointPurpose
GET / POST /api/crypto-policiesList or create crypto policies
GET / PUT / PATCH / DELETE /api/crypto-policies/{id}Read, update, enable/disable or delete a crypto policy
GET /api/crypto-policies/{id}/auditChange history of a crypto policy
GET / POST /api/quorum-policiesList or create quorum policies
GET / PUT / PATCH / DELETE /api/quorum-policies/{id}Read, update, enable/disable or delete a quorum policy
GET /api/quorum/requestsList approval requests
GET /api/quorum/requests/{id}Request detail with its votes
POST /api/quorum/requests/{id}/approveApprove a request
POST /api/quorum/requests/{id}/rejectReject a request

Managing these policies needs the CryptoPolicies.* and QuorumPolicies.* permissions, and the Crypto Policies and Quorum Policies features enabled for the tenant.