Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Awesome Aws | 11,514 | 8 days ago | 1 | December 21, 2015 | 65 | other | Python | |||
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome. | ||||||||||
Aws Sdk Go | 8,317 | 5,100 | 8,512 | 3 days ago | 1,641 | September 23, 2022 | 55 | apache-2.0 | Go | |
AWS SDK for the Go programming language. | ||||||||||
Boto3 | 8,122 | 11,545 | 4,680 | 3 days ago | 1,140 | July 06, 2022 | 174 | apache-2.0 | Python | |
AWS SDK for Python | ||||||||||
Aws Doc Sdk Examples | 7,674 | 3 days ago | 99 | April 23, 2021 | 215 | apache-2.0 | Java | |||
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below. | ||||||||||
Aws Sdk Js | 7,402 | 35,306 | 13,702 | 3 days ago | 1,470 | September 23, 2022 | 158 | apache-2.0 | JavaScript | |
AWS SDK for JavaScript in the browser and Node.js | ||||||||||
Aws Sdk Java | 3,957 | 26 | 22 | 3 days ago | 933 | May 04, 2022 | 119 | apache-2.0 | ||
The official AWS SDK for Java. | ||||||||||
Aws Sdk Ruby | 3,447 | 20,462 | 1,476 | 3 days ago | 1,207 | September 01, 2021 | 22 | apache-2.0 | Ruby | |
The official AWS SDK for Ruby. | ||||||||||
Rusoto | 2,595 | 164 | 404 | 6 months ago | 26 | April 25, 2022 | 255 | mit | Rust | |
AWS SDK for Rust | ||||||||||
Aws Sdk Js V3 | 2,393 | 427 | 3 days ago | 156 | September 27, 2022 | 354 | apache-2.0 | TypeScript | ||
Modularized AWS SDK for JavaScript. | ||||||||||
Aws Sdk Go V2 | 2,009 | 75 | 1,795 | 3 days ago | 754 | July 05, 2022 | 76 | apache-2.0 | Go | |
AWS SDK for the Go programming language. |
The AWS Secrets Manager caching client enables in-process caching of secrets for .NET applications.
To use this client, you must have:
A .NET project with one of the following:
An Amazon Web Services (AWS) account to access secrets stored in AWS Secrets Manager and use AWS SDK for .NET.
To create an AWS account, go to Sign In or Create an AWS Account and then choose I am a new user. Follow the instructions to create an AWS account.
To create a secret in AWS Secrets Manager, go to Creating Secrets and follow the instructions on that page.
To download and install the AWS SDK for .NET, go to Installing the AWS SDK for .NET in the AWS SDK for .NET documentation and then follow the instructions on that page.
You can get the latest release from Nuget
:
<ItemGroup>
<PackageReference Include="AWSSDK.SecretsManager.Caching" Version="1.0.5" />
</ItemGroup>
The following code sample demonstrates how to start using the caching client:
using System;
using Amazon.SecretsManager.Extensions.Caching.SecretsManagerCache;
namespace LambdaExample {
public class CachingExample
{
private SecretsManagerCache cache = new SecretsManagerCache();
private const String MySecretName = "MySecret";
public async Task<Response> FunctionHandlerAsync(String input, ILambdaContext context)
{
String MySecret = await cache.GetSecretString(MySecretName);
...
}
}
}
GetSecretString
or GetSecretBinary
.You can configure the SecretCacheConfiguration
object with the following parameters:
CacheItemTTL
- The TTL of a Cache item in milliseconds. The default value is 3600000
ms, or 1 hour.MaxCacheSize
- The maximum number of items the Cache can contain before evicting using LRU. The default value is 1024
.VersionStage
- The Version Stage the Cache will request when retrieving secrets from Secrets Manager. The default value is AWSCURRENT
.Client
- The Secrets Manager client to be used by the Cache. The default value is null
, which causes the Cache to instantiate a new Secrets Manager client.CacheHook
- An implementation of the ISecretCacheHook interface. The default value is null
.We use GitHub issues for tracking bugs and caching library feature requests and have limited bandwidth to address them. Please use these community resources for getting help:
This library is licensed under the Apache 2.0 License.