Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Releases: secrethub/secrethub-go

v0.25.0

02 Dec 12:48
v0.25.0
ffe2fce
Compare
Choose a tag to compare

Added

  • Backup Code credential type
  • Credentials.List()
  • Credentials.Create()
  • Credentials.Disable()
  • Added Enabled field to api.Credential.

Changed

  • Renamed Name to Description in api.Credential.

v0.24.0

27 Nov 12:45
v0.24.0
a2d07b0
Compare
Choose a tag to compare

Added

  • Add shorthand for generating random alphanumeric characters (#142)
  • Add CreateAll to create dirs recursively (#146)
  • Add Exists for directories (#149, #153)
  • Add functionality to iteratively fetch audit events (#144)
  • Validate custom server URL when constructing the client (fail fast) (#144)

v0.23.0

23 Sep 08:40
v0.23.0
83d9f7e
Compare
Choose a tag to compare

Added

  • Add Read and ReadString convenience functions (#133)
  • Add function to validate uuid strings (#127)

Changed

  • Make created_by field of service non-optional (#131)
  • Make repo created_at and last_modified_at non-optional (#132)

v0.22.0

09 Sep 11:51
v0.22.0
8bf2c4e
Compare
Choose a tag to compare

Added

  • Use AWS identity provider with SECRETHUB_IDENTITY_PROVIDER=aws envvar (#129)
  • Add GetByID function for directories (#124)

Changed

  • Use values instead of pointers for uuid values that are always set (#128)

Fixed

  • Return an explanatory error when the server response cannot be parsed (#126)

v0.21.0

03 Sep 08:47
v0.21.0
30f776a
Compare
Choose a tag to compare

Added

  • Add support for using AWS IAM + KMS as SecretHub credential.
  • Add credential and created at field to services.
  • Add secretpath package that contains utility functions for path strings.
  • Add functions to deal with complex password requirements to randchar package.
  • Add possibility to supply app info to change the user-agent that is sent.A
  • Add IsErrNotFound function to check whether an error is a not found error from the server.

Changed

  • The client can now be constructed without arguments, which auto-detects the credential and uses the default configuration. Options can be supplied to change its behavior.
  • A credential creator is supplied when creating a user or service, so that the credential does not have to be created in the consuming application. For services, this creator can be either a key creator or an AWS creator.
  • The verifier and encrypter to be used now must be supplied when creating an account key.
  • secrethub.Client now refers to the implementation. The interface is at secrethub.ClientInterface.
  • Permissions are now supplied to the client in string format.

Removed

  • Removed types for billing endpoints from the api package.

v0.20.0

23 May 14:17
v0.20.0
1ecfe62
Compare
Choose a tag to compare

Added

  • Add CancelAt field to SubscriptionFee

v0.19.0

02 May 11:09
v0.19.0
a199cf0
Compare
Choose a tag to compare

Added

  • Add default credential parser shorthand
  • Add an error for too many verification requests

Changed

  • Remove error reporting (to Sentry)

v0.18.0

28 Mar 16:56
v0.18.0
437559d
Compare
Choose a tag to compare

Added

  • Add EmailVerified field to api.User.
  • Add a Me service to the client that provides functions to:
    • Get your own user.
    • List all repos you have access to.
    • Resend an email verification email.
  • Make AES and RSA fields of CiphertextRSAAES public.
  • Add encode and decode functions to encode/decode ciphertexts to and from strings.

v0.17.0

28 Mar 16:56
v0.17.0
b7d1bed
Compare
Choose a tag to compare
Release v0.17.0