Skip to content

v0.21.0

Choose a tag to compare

@conjur-jenkins conjur-jenkins released this 02 Dec 12:49

[0.21.0] - 2026-12-02

Added

  • ClientV2.AddAuthnDescriptor, GetAuthnDescriptor and
    ReplaceAuthnDescriptor for the workload's authn-descriptors sub-resource.
    AddAuthnDescriptor returns the API key of an api_key descriptor; it's the
    only call that does.
  • ClientV2.ReplaceGroup replaces a group's annotations (PUT); none clears them.
  • ClientV2.ReplaceAuthenticator replaces an authenticator's enabled flag, data
    and annotations (PUT), clearing what it doesn't send, and
    ClientV2.DeleteAuthenticatorAnnotation removes one annotation. On
    Self-Hosted both need 1.29.0 or later, like the other V2 authenticator calls.
  • A Filter field on GroupFilter, BranchFilter, WorkloadFilter,
    AuthenticatorFilter and SafeFilter, sent as the filter query parameter,
    for example name contains prod or type eq jwt. Clauses are combined with
    and only. On SafeFilter it's joined to the SafeType filter with and.

Changed

  • V2 calls send the stable application/x.secretsmgr.v2+json Accept header
    instead of application/x.secretsmgr.v2beta+json. GetManagedSecretValue
    and GetDynamicSecretValue keep the beta one, the only one SaaS takes on
    that route.
  • Workload and WorkloadFields have only the fields of the published API.
    Workload has Name, Branch, Type, Subtype (new: gke, openshift, eks
    or aks, for the kubernetes type), Annotations, and the server-set
    IdentitySource and CreatedAt. WorkloadFields, the body of
    UpdateWorkload and ReplaceWorkload, has only Annotations.
    • Removed from both: AuthnDescriptors, RestrictedTo and
      AuthenticationSource. Removed from Workload: Owner, which SaaS
      refuses on create.
    • A workload is created without authn descriptors. Add one with
      AddAuthnDescriptor, which also returns an api_key descriptor's API
      key, and read them with ListAuthnDescriptors. ReplaceWorkload keeps
      them.
  • GroupMember.Validate no longer checks the kind; the server does. SaaS takes
    user, workload, group, swa and cp, with host as an alias for
    workload, and lists members as workload, which the SDK used to refuse.
  • ManagedSecretCreate.Value is 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)
  • CertificateIssue and CertificateSign escape the issuer name as one path
    segment and refuse empty, . and .., so a name can't reach another route.