
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@confconf/aws-secrets-manager
Advanced tools
npm i --save @confconf/aws-secrets-manager
import { SecretsManagerClient } from "@aws-sdk/client-secrets-manager";
import { confconf } from "@confconf/confconf";
import { awsSecretsManager } from "@confconf/aws-secrets-manager";
// Create an aws secrets manager client
const client = new SecretsManagerClient();
// Define a schema
const configSchema = {
// ...
};
type Config = {
// ...
};
// Create the configuration loader
const configLoader = confconf<Config>({
schema: configSchema,
providers: [
awsSecretsManager({
client,
secretToLoad: "name/of/the/secret",
}),
],
});
// Load configuration and validate it against the schema
const config = await configLoader.loadAndValidate();
awsSecretsManager(opts: AwsSecretsManagerProviderOpts)
Creates a new instance of the AWS secrets Manager configuration provider
opts
[AwsSecretsManagerProviderOpts]interface AwsSecretsManagerProviderOpts {
/**
* AWS Secrets Manager client to read to secrets with
*/
client: SecretsManagerClient;
/**
* The secret that should be loaded. Can either be a secret id
* (string) or an object with more specific configuration
*/
secretToLoad:
| string
| {
/**
* The secret to be loaded.
*
* For more details see:
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-secrets-manager/interfaces/getsecretvaluecommandinput.html#secretid
*/
secretId: string;
/**
* Unique id of the version of the secret to be loaded.
*
* For more details see:
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-secrets-manager/interfaces/getsecretvaluecommandinput.html#versionid
*/
versionId?: string;
/**
* Specifies the secret version that you want to retrieve by the staging label attached to the version.
*
* For more details see:
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-secrets-manager/interfaces/getsecretvaluecommandinput.html#versionstage
*/
versionStage?: string;
/**
* Possible transformation to be applied for the secret
*/
transform?: TransformFn;
};
}
FAQs
AWS Secrets Manager provider for confconf
The npm package @confconf/aws-secrets-manager receives a total of 26 weekly downloads. As such, @confconf/aws-secrets-manager popularity was classified as not popular.
We found that @confconf/aws-secrets-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.