Repository navigation
v0.20.0
[0.20.0] - 2026-11-25
Added
ClientV2.ListAuthnDescriptorslists a workload's authn descriptors
(GET /workloads/<id>/authn-descriptors). SaaS no longer returns them with
the workload, soGetWorkloadandListWorkloadsleave
Workload.AuthnDescriptorsempty.Client.SetAuthenticatorEnabledenables or disables an authenticator by its
authn-<type>/<name>id, using the V2 API on SaaS and v1 on Self-Hosted.ParseAuthenticatorIDsplits anauthn-<type>/<name>id into a V2 type and
name, mappingiamtoaws_iamandcerttocertificate.AuthenticatorFilterfor pagingClientV2.ListAuthenticators. SaaS ignores
it for now and returns its whole list, at most 1000 authenticators.AuthenticatorPatchfor partial V2 authenticator updates.AuthenticatorResponse.CreatedAt, which SaaS sends.ClientV2.ListWorkloads(paged withWorkloadFilter),ReplaceWorkload
andDeleteAuthnDescriptorfor Secrets Manager SaaS.ClientV2.BatchRetrieveSecretsSafeandBatchRetrieveSecretsSafeRequest
retrieve a batch of secrets with binary values too. They ask the server to
base64-encode the values (encode_values) and return them decoded, where
BatchRetrieveSecretsgets a per-secret 406 for a value that isn't valid
UTF-8. (CNJR-15241)
Changed
- The V2 APIs that aren't released yet are refused, on SaaS and Self-Hosted,
with acontract.FeatureNotSupportedError(Unreleasedset) before any
request is sent: authenticators, branches, groups and group membership,
annotations, workloads, permissions, safes and safe secrets, static secrets,
V2 batch secret retrieval, and issuer issue/sign.SetAuthenticatorEnabled
on SaaS is refused too, as it calls the V2 authenticators API. SWA and
authentication are unchanged. SetCONJUR_ENABLE_UNRELEASED_V2=trueto use
them anyway. (CNJR-15913) ClientV2.UpdateAuthenticatortakes an*AuthenticatorPatchinstead of
enabled bool.ClientV2.SetAuthenticatorEnabledV2keeps the old behaviour.ClientV2.ListAuthenticatorstakes an*AuthenticatorFilter; passnilfor
the server's default page.- On Self-Hosted,
ClientV2.UpdateAuthenticatorrefuses a patch that sets
annotations or data, or doesn't set enabled, before sending it. The
Self-Hosted V2PATCHonly changes enabled, and answered such a patch with a
422 "Missing required parameter: enabled."
Fixed
ClientV2.UpdateAuthnDescriptorandDeleteAuthnDescriptoruse the workload's
authn-descriptorssub-resource. The server moved the descriptorPATCHand
DELETEthere fromauthn_descriptors, and answered the old path with a 404.
UpdateAuthnDescriptorreads the updated descriptor whether or not the
response wraps it inauthn_descriptor.- Resource, role and policy IDs containing a space are now sent with
%20
instead of+in the URL path, so lookups such asconjur role existsno
longer return 404 for IDs likeSCIM Config. (CNJR-16227) - The same applies to authenticate URLs (login, IAM host ID) and issuer IDs,
which also encoded a space as+. (CNJR-16227) ConjurErrorparses V2 error bodies, soError()returns the server's
message instead of the raw JSON.Codestays the HTTP status.- Authenticator management requests escape the type and name in the URL path
and reject.,..and empty segments before sending, so a name can no
longer address a different resource. AuthenticatorResponseleavesbranchout of its JSON when it's empty, as
SaaS responses do, instead of adding"branch": "".- The V2 authenticator calls address the GCP authenticator as
gcp/default,
as both servers route it, instead ofgcp, which got a 404. - Correction to the 0.16.0
server_versionentry: a saved version that rules
out a call is not re-checked with the server. After an upgrade, remove
server_versionfrom.conjurrcif a call is still refused.
Security
- Upgraded
github.com/oapi-codegen/runtimeto v1.9.0 (from v1.7.0), in both
the main module and the internalswafakemodule. (CP-29248) - Removed the
replacepins forgithub.com/klauspost/compressand
github.com/labstack/echo/v4fromgo.mod. They only existed to override
versions pulled in byoapi-codegen/runtimev1.7.0, which v1.9.0 no longer
requires. - Upgraded
golang.org/x/netto v0.60.0 in the internalswafakemodule. - Bumped the Go version of the internal
swafakemodule to 1.26.10.