AWSSDK.KeyManagementService 4.0.101.1

Prefix Reserved
dotnet add package AWSSDK.KeyManagementService --version 4.0.101.1
                    
NuGet\Install-Package AWSSDK.KeyManagementService -Version 4.0.101.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AWSSDK.KeyManagementService" Version="4.0.101.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AWSSDK.KeyManagementService" Version="4.0.101.1" />
                    
Directory.Packages.props
<PackageReference Include="AWSSDK.KeyManagementService" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AWSSDK.KeyManagementService --version 4.0.101.1
                    
#r "nuget: AWSSDK.KeyManagementService, 4.0.101.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AWSSDK.KeyManagementService@4.0.101.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AWSSDK.KeyManagementService&version=4.0.101.1
                    
Install as a Cake Addin
#tool nuget:?package=AWSSDK.KeyManagementService&version=4.0.101.1
                    
Install as a Cake Tool

Key Management Service

Key Management Service (KMS) is an encryption and key management web service. This guide describes the KMS operations that you can call programmatically. For general information about KMS, see the Key Management Service Developer Guide.

KMS has replaced the term customer master key (CMK) with Key Management Service key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Rust, Python, Ruby, .Net, macOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to KMS and other Amazon Web Services services. For example, the SDKs take care of tasks such as signing requests (see below), managing errors, and retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools for Amazon Web Services.

We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.

If you need to use FIPS 140-2 validated cryptographic modules when communicating with Amazon Web Services, use one of the FIPS endpoints in your preferred Amazon Web Services Region. If you need communicate over IPv6, use the dual-stack endpoint in your preferred Amazon Web Services Region. For more information see Service endpoints in the Key Management Service topic of the Amazon Web Services General Reference and Dual-stack endpoint support in the KMS Developer Guide.

All KMS API calls must be signed and be transmitted using Transport Layer Security (TLS). KMS recommends you always use the latest supported TLS version. Clients must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems such as Java 7 and later support these modes.

With current technology, brute force attacks on KMS TLS cipher suite key exchange mechanisms are not feasible. However, cipher suites that use Rivest–Shamir–Adleman (RSA) or Diffie-Hellman (DH) key exchange will be susceptible if large-scale quantum computing becomes practical. NIST IR 8547 on the NIST website establishes a timeline to phase out quantum-vulnerable algorithms by 2030 and disallow them entirely by 2035. If your applications rely on the long-term confidentiality of KMS API traffic, we recommend that you use post-quantum TLS with KMS. For more information about post-quantum cybersecurity, see Post-Quantum Cybersecurity Resources on the National Security Agency (NSA) website.

Signing Requests

Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your Amazon Web Services account root access key ID and secret access key for everyday work. You can use the access key ID and secret access key for an IAM user or you can use the Security Token Service (STS) to generate temporary security credentials and use those to sign requests.

All KMS requests must be signed with Signature Version 4.

Logging API Requests

KMS supports CloudTrail, a service that logs Amazon Web Services API calls and related events for your Amazon Web Services account and delivers them to an Amazon S3 bucket that you specify. By using the information collected by CloudTrail, you can determine what requests were made to KMS, who made the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it on and find your log files, see the CloudTrail User Guide.

Additional Resources

For more information about credentials and request signing, see the following:

Commonly Used API Operations

Of the API operations discussed in this guide, the following will prove the most useful for most applications. You will likely perform operations other than these, such as creating keys and assigning policies, by using the console.

  • Encrypt
  • Decrypt
  • GenerateDataKey
  • GenerateDataKeyWithoutPlaintext
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (71)

Showing the top 5 NuGet packages that depend on AWSSDK.KeyManagementService:

Package Downloads
Amazon.Extensions.S3.Encryption

The Amazon S3 Encryption Client for .NET simplifies encrypting and decrypting objects to S3 using KMS or custom keys.

AWS.Cryptography.Internal.ComAmazonawsKms

ComAmazonawsKms is a library written to convert between Dafny generated code and native .NET code that interacts with AWS KMS.

AWS.EncryptionSDK

The AWS Encryption SDK is a client-side encryption library designed to make it easy for everyone to encrypt and decrypt data using industry standards and best practices.

AspNetCore.DataProtection.Aws.Kms

ASP.NET Core DataProtection encrypter & decrypter for use with AWS KMS

LambdaSharp

Serverless .NET for AWS - Lambda Library

GitHub repositories (6)

Showing the top 6 popular GitHub repositories that depend on AWSSDK.KeyManagementService:

Repository Stars
Nethereum/Nethereum
Ethereum .Net cross platform integration library
Soluto/kamus
An open source, git-ops, zero-trust secret encryption and decryption solution for Kubernetes applications
confluentinc/confluent-kafka-dotnet
Confluent's Apache Kafka .NET client
localstack-dotnet/localstack-dotnet-client
A lightweight .NET client for LocalStack
LambdaSharp/LambdaSharpTool
Serverless .NET on AWS - λ# is a CLI and Framework for Rapid Application Development using .NET on AWS
dtylman/AWSRetriever
Lists all resources in a AWS account
Version Downloads Last Updated
4.0.101.1 0 10/29/2026
4.0.101 30,399 10/26/2026
4.0.100.20 42,146 10/21/2026
4.0.100.19 27,119 10/19/2026
4.0.100.18 74,158 10/14/2026
4.0.100.17 34,611 10/12/2026
4.0.100.16 46,039 10/8/2026
4.0.100.15 147,944 9/30/2026
4.0.100.14 330,982 9/14/2026
4.0.100.13 161,364 9/9/2026
4.0.100.12 116,928 9/4/2026
4.0.100.11 581,500 8/24/2026
4.0.100.10 87,587 8/20/2026
4.0.100.9 71,146 8/18/2026
4.0.100.8 85,568 8/11/2026
4.0.100.7 224,470 7/27/2026
4.0.100.6 83,197 7/22/2026
4.0.100.5 134,973 7/17/2026
4.0.100.4 62,266 7/14/2026
4.0.100.3 88,312 7/8/2026
Loading failed