Socket
Socket
Sign inDemoInstall

@aws-sdk/credential-provider-env

Package Overview
Dependencies
Maintainers
5
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-env - npm Package Compare versions

Comparing version 3.496.0 to 3.502.0

8

dist-cjs/index.js

@@ -39,3 +39,5 @@ var __defProp = Object.defineProperty;

var ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
var fromEnv = /* @__PURE__ */ __name(() => async () => {
var fromEnv = /* @__PURE__ */ __name((init) => async () => {
var _a;
(_a = init == null ? void 0 : init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-env", "fromEnv");
const accessKeyId = process.env[ENV_KEY];

@@ -60,9 +62,9 @@ const secretAccessKey = process.env[ENV_SECRET];

0 && (module.exports = {
ENV_CREDENTIAL_SCOPE,
ENV_EXPIRATION,
ENV_KEY,
ENV_SECRET,
ENV_SESSION,
ENV_EXPIRATION,
ENV_CREDENTIAL_SCOPE,
fromEnv
});

@@ -7,3 +7,4 @@ import { CredentialsProviderError } from "@smithy/property-provider";

export const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
export const fromEnv = () => async () => {
export const fromEnv = (init) => async () => {
init?.logger?.debug("@aws-sdk/credential-provider-env", "fromEnv");
const accessKeyId = process.env[ENV_KEY];

@@ -10,0 +11,0 @@ const secretAccessKey = process.env[ENV_SECRET];

@@ -0,2 +1,5 @@

import type { CredentialProviderOptions } from "@aws-sdk/types";
import { AwsCredentialIdentityProvider } from "@smithy/types";
export interface FromEnvInit extends CredentialProviderOptions {
}
/**

@@ -29,2 +32,2 @@ * @internal

*/
export declare const fromEnv: () => AwsCredentialIdentityProvider;
export declare const fromEnv: (init?: FromEnvInit) => AwsCredentialIdentityProvider;

@@ -0,2 +1,4 @@

import { CredentialProviderOptions } from "@aws-sdk/types";
import { AwsCredentialIdentityProvider } from "@smithy/types";
export interface FromEnvInit extends CredentialProviderOptions {}
export declare const ENV_KEY = "AWS_ACCESS_KEY_ID";

@@ -7,2 +9,4 @@ export declare const ENV_SECRET = "AWS_SECRET_ACCESS_KEY";

export declare const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
export declare const fromEnv: () => AwsCredentialIdentityProvider;
export declare const fromEnv: (
init?: FromEnvInit
) => AwsCredentialIdentityProvider;
{
"name": "@aws-sdk/credential-provider-env",
"version": "3.496.0",
"version": "3.502.0",
"description": "AWS credential provider that sources credentials from known environment variables",

@@ -27,3 +27,3 @@ "main": "./dist-cjs/index.js",

"dependencies": {
"@aws-sdk/types": "3.496.0",
"@aws-sdk/types": "3.502.0",
"@smithy/property-provider": "^2.1.1",

@@ -30,0 +30,0 @@ "@smithy/types": "^2.9.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc