Skip to content

Commit

Permalink
Deprecate KmsClient registration in C++.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 572522686
Change-Id: I9490c3af4a1f017df8e584c84825e18473d3fa3e
  • Loading branch information
juergw authored and copybara-github committed Oct 11, 2023
1 parent 506b329 commit 2668e4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tink/integration/awskms/aws_kms_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class AwsKmsClient : public crypto::tink::KmsClient {
absl::string_view key_uri, absl::string_view credentials_path);

// Creates a new client and registers it in KMSClients.
ABSL_DEPRECATED(
"RegisterNewClient is deprecated. Instead, use AwsKmsAead::New to "
"directly create an Aead object without creating or registering a "
"client.")
static crypto::tink::util::Status RegisterNewClient(
absl::string_view key_uri, absl::string_view credentials_path);

Expand Down

0 comments on commit 2668e4d

Please sign in to comment.