Repository navigation
v0.21.0
[0.21.0] - 2026-12-02
Added
ClientV2.AddAuthnDescriptor,GetAuthnDescriptorand
ReplaceAuthnDescriptorfor the workload'sauthn-descriptorssub-resource.
AddAuthnDescriptorreturns the API key of anapi_keydescriptor; it's the
only call that does.ClientV2.ReplaceGroupreplaces a group's annotations (PUT); none clears them.ClientV2.ReplaceAuthenticatorreplaces an authenticator's enabled flag, data
and annotations (PUT), clearing what it doesn't send, and
ClientV2.DeleteAuthenticatorAnnotationremoves one annotation. On
Self-Hosted both need 1.29.0 or later, like the other V2 authenticator calls.- A
Filterfield onGroupFilter,BranchFilter,WorkloadFilter,
AuthenticatorFilterandSafeFilter, sent as thefilterquery parameter,
for examplename contains prodortype eq jwt. Clauses are combined with
andonly. OnSafeFilterit's joined to theSafeTypefilter withand.
Changed
- V2 calls send the stable
application/x.secretsmgr.v2+jsonAccept header
instead ofapplication/x.secretsmgr.v2beta+json.GetManagedSecretValue
andGetDynamicSecretValuekeep the beta one, the only one SaaS takes on
that route. WorkloadandWorkloadFieldshave only the fields of the published API.
WorkloadhasName,Branch,Type,Subtype(new: gke, openshift, eks
or aks, for thekubernetestype),Annotations, and the server-set
IdentitySourceandCreatedAt.WorkloadFields, the body of
UpdateWorkloadandReplaceWorkload, has onlyAnnotations.- Removed from both:
AuthnDescriptors,RestrictedToand
AuthenticationSource. Removed fromWorkload:Owner, which SaaS
refuses on create. - A workload is created without authn descriptors. Add one with
AddAuthnDescriptor, which also returns anapi_keydescriptor's API
key, and read them withListAuthnDescriptors.ReplaceWorkloadkeeps
them.
- Removed from both:
GroupMember.Validateno longer checks the kind; the server does. SaaS takes
user,workload,group,swaandcp, withhostas an alias for
workload, and lists members asworkload, which the SDK used to refuse.ManagedSecretCreate.Valueis optional, as on the server: a secret created
without one has no version until a value is set.
Fixed
- V2 batch secret retrieval (
BatchRetrieveSecrets,BatchRetrieveSecretsSafe,
POST /secrets/values) works again on SaaS without
CONJUR_ENABLE_UNRELEASED_V2. A regression in 0.20.0 refused it as
unreleased, so clients that pick V2 by capability, such as the Secrets
Provider for Kubernetes, fell back to v1 without an error. It stays SaaS
only; the other V2 APIs are still unreleased. (CNJR-16443) CertificateIssueandCertificateSignescape the issuer name as one path
segment and refuse empty,.and.., so a name can't reach another route.