Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Latest commit

 

History

History
62 lines (36 loc) · 2.75 KB

CHANGELOG.md

File metadata and controls

62 lines (36 loc) · 2.75 KB

Changelog

All notable changes will be documented in this file.

[1.5.0] - 2023-10-01

This version adds support for the Service Token V3 (Beta) authentication method for Infisical which is a JSON; note that it continues to support Service Token V2 (the default authentication method at this time). With this update, it's possible to initialize the InfisicalClient with a Service Token V3 JSON via the tokenJSON parameter to perform CRUD secret operations.

Example:

client = InfisicalClient(
    token_json=os.environ.get("INFISICAL_TOKEN_JSON")
)

[1.4.3] - 2023-09-13

This version adds support for the include_imports and attach_to_os_environ parameters for the get_all_secrets() method.

[1.4.2] - 2023-08-27

This version patches the path parameter in get_all_secrets() so you can now fetch all secrets from a specific path.

[1.4.1] - 2023-08-21

This version updates returning unfound secrets to whatever is present on os.environ as opposed to returning None.

[1.4.0] - 2023-07-13

This version adds support for folders or path-based secret storage for all secret CRUD operations.

[1.3.0] - 2023-05-05

This version adds support for generating a symmetric encryption key, symmetric encryption, and decryption; algorithm used is aes-256-gcm with 96-bit iv.

  • create_symmetric_key(): Method to create a base64-encoded, 256-bit symmetric key.
  • encrypt_symmetric(): Method to symmetrically encrypt plaintext using the symmetric key.
  • decrypt_symmetric(): Method to symmetrically decrypt ciphertext using the symmetric key.

To simplify things for developers, we stick to base64 encoding and convert to and from bytes inside the methods.

[1.2.0] - 2023-05-01

Patched expires_at on GetServiceTokenDetailsResponse to be optional (to accomodate for cases where the service token never expires).

[1.1.0] - 2023-04-27

This version adds support for querying and mutating secrets by name with the introduction of blind-indexing. It also adds support for caching by passing in cache_ttl.

  • get_all_secrets(): Method to get all secrets from a project and environment
  • create_secret(): Method to create a secret
  • get_secret(): Method to get a secret by name
  • update_secret(): Method to update a secret by name
  • delete_secret(): Method to delete a secret by name

The format of any fetched secrets from the SDK is now a SecretBundle that has useful properties like secret_name, secret_value, and version.

This version also deprecates the connect() and create_connection() methods in favor of initializing the SDK with new InfisicalClient(options)

It also includes some tests that can be run by passing in a INFISICAL_TOKEN and SITE_URL as environment variables to point the test client to an instance of Infisical.