Skip to content

Release v1.0.8

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Jun 10:51
13eccf9

This release adds support for a new secret type (imported_cert), along with other fixes. To learn about general updates and improvements to the Secrets Manager service, check out the IBM Cloud documentation.

Important: This release contains updates that are not compatible with previous versions of this SDK.

Added

  • New imported_cert secret type.
  • New CertificateSecretResource object.
  • New Get a version of a secret API call. Currently supported only for imported_cert secrets.
  • New SecretVersion object. This object contains the properties that are associated with the specific version of a secret, including the metadata properties and the actual data properties. Currently, this object contains CertificateSecretVersion, which contains the metadata and the certificate data that is associated with the secret version.
  • New versions_total field added to the SecretResource object.

Changed

  • BREAKING CHANGE: Improved object names for better readability. The old names are no longer supported. If you're upgrading from a previous version, be sure to also update the following names in your code to maintain compatibility.

    Old name New name
    SecretResourceUsernamePasswordSecretResource UsernamePasswordSecretResource
    SecretResourceArbitrarySecretResource ArbitrarySecretResource
    SecretResourceIAMSecretResource IAMSecretResource
    EngineConfigOneOf EngineConfig
    EngineConfigOneOfIAMSecretEngineRootConfig IAMCredentialsSecretEngineRootConfig
    GetSecretPoliciesOneOf GetSecretPolicies
    GetSecretPoliciesOneOfGetSecretPolicyRotation GetSecretPolicyRotation
    GetSecretPoliciesOneOfResourcesItem GetSecretPoliciesResourcesItem
    GetSecretPoliciesOneOfGetSecretPolicyRotationResourcesItem GetSecretPolicyRotationResourcesItem
    SecretActionOneOf SecretAction
    SecretActionOneOfRotateArbitrarySecretBody RotateArbitrarySecretBody
    SecretActionOneOfRotateUsernamePasswordSecretBody RotateUsernamePasswordSecretBody
    SecretActionOneOfDeleteCredentialsForIAMSecret DeleteCredentialsForIAMSecret
    SecretVersion SecretVersionMetadata
  • The SecretVersionMetadata object (renamed from SecretVersion) now has new subclasses (ArbitrarySecretVersionMetadata, UsernamePasswordSecretVersionMetadata, IAMCredentialsSecretVersionMetadata and CertificateSecretVersionMetadata).