working rss feed to nostr publish
This commit is contained in:
+201
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# @aws-sdk/credential-provider-ini
|
||||
|
||||
[](https://www.npmjs.com/package/@aws-sdk/credential-provider-ini)
|
||||
[](https://www.npmjs.com/package/@aws-sdk/credential-provider-ini)
|
||||
|
||||
> An internal package
|
||||
|
||||
## Usage
|
||||
|
||||
You probably shouldn't, at least directly. Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers)
|
||||
instead.
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.fromIni = void 0;
|
||||
const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader");
|
||||
const resolveProfileData_1 = require("./resolveProfileData");
|
||||
const fromIni = (init = {}) => async () => {
|
||||
const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init);
|
||||
return (0, resolveProfileData_1.resolveProfileData)((0, shared_ini_file_loader_1.getProfileName)(init), profiles, init);
|
||||
};
|
||||
exports.fromIni = fromIni;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tslib_1 = require("tslib");
|
||||
tslib_1.__exportStar(require("./fromIni"), exports);
|
||||
Generated
Vendored
+52
@@ -0,0 +1,52 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveAssumeRoleCredentials = exports.isAssumeRoleProfile = void 0;
|
||||
const property_provider_1 = require("@smithy/property-provider");
|
||||
const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader");
|
||||
const resolveCredentialSource_1 = require("./resolveCredentialSource");
|
||||
const resolveProfileData_1 = require("./resolveProfileData");
|
||||
const isAssumeRoleProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg === "object" &&
|
||||
typeof arg.role_arn === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 &&
|
||||
["undefined", "string"].indexOf(typeof arg.external_id) > -1 &&
|
||||
["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 &&
|
||||
(isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg));
|
||||
exports.isAssumeRoleProfile = isAssumeRoleProfile;
|
||||
const isAssumeRoleWithSourceProfile = (arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
|
||||
const isAssumeRoleWithProviderProfile = (arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
|
||||
const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => {
|
||||
const data = profiles[profileName];
|
||||
if (!options.roleAssumer) {
|
||||
throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} requires a role to be assumed, but no role assumption callback was provided.`, false);
|
||||
}
|
||||
const { source_profile } = data;
|
||||
if (source_profile && source_profile in visitedProfiles) {
|
||||
throw new property_provider_1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +
|
||||
` ${(0, shared_ini_file_loader_1.getProfileName)(options)}. Profiles visited: ` +
|
||||
Object.keys(visitedProfiles).join(", "), false);
|
||||
}
|
||||
const sourceCredsProvider = source_profile
|
||||
? (0, resolveProfileData_1.resolveProfileData)(source_profile, profiles, options, {
|
||||
...visitedProfiles,
|
||||
[source_profile]: true,
|
||||
})
|
||||
: (0, resolveCredentialSource_1.resolveCredentialSource)(data.credential_source, profileName)();
|
||||
const params = {
|
||||
RoleArn: data.role_arn,
|
||||
RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
|
||||
ExternalId: data.external_id,
|
||||
DurationSeconds: parseInt(data.duration_seconds || "3600", 10),
|
||||
};
|
||||
const { mfa_serial } = data;
|
||||
if (mfa_serial) {
|
||||
if (!options.mfaCodeProvider) {
|
||||
throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, false);
|
||||
}
|
||||
params.SerialNumber = mfa_serial;
|
||||
params.TokenCode = await options.mfaCodeProvider(mfa_serial);
|
||||
}
|
||||
const sourceCreds = await sourceCredsProvider;
|
||||
return options.roleAssumer(sourceCreds, params);
|
||||
};
|
||||
exports.resolveAssumeRoleCredentials = resolveAssumeRoleCredentials;
|
||||
Generated
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveCredentialSource = void 0;
|
||||
const credential_provider_env_1 = require("@aws-sdk/credential-provider-env");
|
||||
const credential_provider_imds_1 = require("@smithy/credential-provider-imds");
|
||||
const property_provider_1 = require("@smithy/property-provider");
|
||||
const resolveCredentialSource = (credentialSource, profileName) => {
|
||||
const sourceProvidersMap = {
|
||||
EcsContainer: credential_provider_imds_1.fromContainerMetadata,
|
||||
Ec2InstanceMetadata: credential_provider_imds_1.fromInstanceMetadata,
|
||||
Environment: credential_provider_env_1.fromEnv,
|
||||
};
|
||||
if (credentialSource in sourceProvidersMap) {
|
||||
return sourceProvidersMap[credentialSource]();
|
||||
}
|
||||
else {
|
||||
throw new property_provider_1.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` +
|
||||
`expected EcsContainer or Ec2InstanceMetadata or Environment.`);
|
||||
}
|
||||
};
|
||||
exports.resolveCredentialSource = resolveCredentialSource;
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveProcessCredentials = exports.isProcessProfile = void 0;
|
||||
const credential_provider_process_1 = require("@aws-sdk/credential-provider-process");
|
||||
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
||||
exports.isProcessProfile = isProcessProfile;
|
||||
const resolveProcessCredentials = async (options, profile) => (0, credential_provider_process_1.fromProcess)({
|
||||
...options,
|
||||
profile,
|
||||
})();
|
||||
exports.resolveProcessCredentials = resolveProcessCredentials;
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveProfileData = void 0;
|
||||
const property_provider_1 = require("@smithy/property-provider");
|
||||
const resolveAssumeRoleCredentials_1 = require("./resolveAssumeRoleCredentials");
|
||||
const resolveProcessCredentials_1 = require("./resolveProcessCredentials");
|
||||
const resolveSsoCredentials_1 = require("./resolveSsoCredentials");
|
||||
const resolveStaticCredentials_1 = require("./resolveStaticCredentials");
|
||||
const resolveWebIdentityCredentials_1 = require("./resolveWebIdentityCredentials");
|
||||
const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => {
|
||||
const data = profiles[profileName];
|
||||
if (Object.keys(visitedProfiles).length > 0 && (0, resolveStaticCredentials_1.isStaticCredsProfile)(data)) {
|
||||
return (0, resolveStaticCredentials_1.resolveStaticCredentials)(data);
|
||||
}
|
||||
if ((0, resolveAssumeRoleCredentials_1.isAssumeRoleProfile)(data)) {
|
||||
return (0, resolveAssumeRoleCredentials_1.resolveAssumeRoleCredentials)(profileName, profiles, options, visitedProfiles);
|
||||
}
|
||||
if ((0, resolveStaticCredentials_1.isStaticCredsProfile)(data)) {
|
||||
return (0, resolveStaticCredentials_1.resolveStaticCredentials)(data);
|
||||
}
|
||||
if ((0, resolveWebIdentityCredentials_1.isWebIdentityProfile)(data)) {
|
||||
return (0, resolveWebIdentityCredentials_1.resolveWebIdentityCredentials)(data, options);
|
||||
}
|
||||
if ((0, resolveProcessCredentials_1.isProcessProfile)(data)) {
|
||||
return (0, resolveProcessCredentials_1.resolveProcessCredentials)(options, profileName);
|
||||
}
|
||||
if ((0, resolveSsoCredentials_1.isSsoProfile)(data)) {
|
||||
return (0, resolveSsoCredentials_1.resolveSsoCredentials)(data);
|
||||
}
|
||||
throw new property_provider_1.CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`);
|
||||
};
|
||||
exports.resolveProfileData = resolveProfileData;
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveSsoCredentials = exports.isSsoProfile = void 0;
|
||||
const credential_provider_sso_1 = require("@aws-sdk/credential-provider-sso");
|
||||
var credential_provider_sso_2 = require("@aws-sdk/credential-provider-sso");
|
||||
Object.defineProperty(exports, "isSsoProfile", { enumerable: true, get: function () { return credential_provider_sso_2.isSsoProfile; } });
|
||||
const resolveSsoCredentials = (data) => {
|
||||
const { sso_start_url, sso_account_id, sso_session, sso_region, sso_role_name } = (0, credential_provider_sso_1.validateSsoProfile)(data);
|
||||
return (0, credential_provider_sso_1.fromSSO)({
|
||||
ssoStartUrl: sso_start_url,
|
||||
ssoAccountId: sso_account_id,
|
||||
ssoSession: sso_session,
|
||||
ssoRegion: sso_region,
|
||||
ssoRoleName: sso_role_name,
|
||||
})();
|
||||
};
|
||||
exports.resolveSsoCredentials = resolveSsoCredentials;
|
||||
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveStaticCredentials = exports.isStaticCredsProfile = void 0;
|
||||
const isStaticCredsProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg === "object" &&
|
||||
typeof arg.aws_access_key_id === "string" &&
|
||||
typeof arg.aws_secret_access_key === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1;
|
||||
exports.isStaticCredsProfile = isStaticCredsProfile;
|
||||
const resolveStaticCredentials = (profile) => Promise.resolve({
|
||||
accessKeyId: profile.aws_access_key_id,
|
||||
secretAccessKey: profile.aws_secret_access_key,
|
||||
sessionToken: profile.aws_session_token,
|
||||
});
|
||||
exports.resolveStaticCredentials = resolveStaticCredentials;
|
||||
Generated
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resolveWebIdentityCredentials = exports.isWebIdentityProfile = void 0;
|
||||
const credential_provider_web_identity_1 = require("@aws-sdk/credential-provider-web-identity");
|
||||
const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg === "object" &&
|
||||
typeof arg.web_identity_token_file === "string" &&
|
||||
typeof arg.role_arn === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
||||
exports.isWebIdentityProfile = isWebIdentityProfile;
|
||||
const resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({
|
||||
webIdentityTokenFile: profile.web_identity_token_file,
|
||||
roleArn: profile.role_arn,
|
||||
roleSessionName: profile.role_session_name,
|
||||
roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
|
||||
})();
|
||||
exports.resolveWebIdentityCredentials = resolveWebIdentityCredentials;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
||||
import { resolveProfileData } from "./resolveProfileData";
|
||||
export const fromIni = (init = {}) => async () => {
|
||||
const profiles = await parseKnownFiles(init);
|
||||
return resolveProfileData(getProfileName(init), profiles, init);
|
||||
};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from "./fromIni";
|
||||
Generated
Vendored
+47
@@ -0,0 +1,47 @@
|
||||
import { CredentialsProviderError } from "@smithy/property-provider";
|
||||
import { getProfileName } from "@smithy/shared-ini-file-loader";
|
||||
import { resolveCredentialSource } from "./resolveCredentialSource";
|
||||
import { resolveProfileData } from "./resolveProfileData";
|
||||
export const isAssumeRoleProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg === "object" &&
|
||||
typeof arg.role_arn === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 &&
|
||||
["undefined", "string"].indexOf(typeof arg.external_id) > -1 &&
|
||||
["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 &&
|
||||
(isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg));
|
||||
const isAssumeRoleWithSourceProfile = (arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
|
||||
const isAssumeRoleWithProviderProfile = (arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
|
||||
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => {
|
||||
const data = profiles[profileName];
|
||||
if (!options.roleAssumer) {
|
||||
throw new CredentialsProviderError(`Profile ${profileName} requires a role to be assumed, but no role assumption callback was provided.`, false);
|
||||
}
|
||||
const { source_profile } = data;
|
||||
if (source_profile && source_profile in visitedProfiles) {
|
||||
throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +
|
||||
` ${getProfileName(options)}. Profiles visited: ` +
|
||||
Object.keys(visitedProfiles).join(", "), false);
|
||||
}
|
||||
const sourceCredsProvider = source_profile
|
||||
? resolveProfileData(source_profile, profiles, options, {
|
||||
...visitedProfiles,
|
||||
[source_profile]: true,
|
||||
})
|
||||
: resolveCredentialSource(data.credential_source, profileName)();
|
||||
const params = {
|
||||
RoleArn: data.role_arn,
|
||||
RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
|
||||
ExternalId: data.external_id,
|
||||
DurationSeconds: parseInt(data.duration_seconds || "3600", 10),
|
||||
};
|
||||
const { mfa_serial } = data;
|
||||
if (mfa_serial) {
|
||||
if (!options.mfaCodeProvider) {
|
||||
throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, false);
|
||||
}
|
||||
params.SerialNumber = mfa_serial;
|
||||
params.TokenCode = await options.mfaCodeProvider(mfa_serial);
|
||||
}
|
||||
const sourceCreds = await sourceCredsProvider;
|
||||
return options.roleAssumer(sourceCreds, params);
|
||||
};
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import { fromEnv } from "@aws-sdk/credential-provider-env";
|
||||
import { fromContainerMetadata, fromInstanceMetadata } from "@smithy/credential-provider-imds";
|
||||
import { CredentialsProviderError } from "@smithy/property-provider";
|
||||
export const resolveCredentialSource = (credentialSource, profileName) => {
|
||||
const sourceProvidersMap = {
|
||||
EcsContainer: fromContainerMetadata,
|
||||
Ec2InstanceMetadata: fromInstanceMetadata,
|
||||
Environment: fromEnv,
|
||||
};
|
||||
if (credentialSource in sourceProvidersMap) {
|
||||
return sourceProvidersMap[credentialSource]();
|
||||
}
|
||||
else {
|
||||
throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` +
|
||||
`expected EcsContainer or Ec2InstanceMetadata or Environment.`);
|
||||
}
|
||||
};
|
||||
Generated
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
import { fromProcess } from "@aws-sdk/credential-provider-process";
|
||||
export const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
||||
export const resolveProcessCredentials = async (options, profile) => fromProcess({
|
||||
...options,
|
||||
profile,
|
||||
})();
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
import { CredentialsProviderError } from "@smithy/property-provider";
|
||||
import { isAssumeRoleProfile, resolveAssumeRoleCredentials } from "./resolveAssumeRoleCredentials";
|
||||
import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCredentials";
|
||||
import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
|
||||
import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
|
||||
import { isWebIdentityProfile, resolveWebIdentityCredentials } from "./resolveWebIdentityCredentials";
|
||||
export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => {
|
||||
const data = profiles[profileName];
|
||||
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
||||
return resolveStaticCredentials(data);
|
||||
}
|
||||
if (isAssumeRoleProfile(data)) {
|
||||
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
|
||||
}
|
||||
if (isStaticCredsProfile(data)) {
|
||||
return resolveStaticCredentials(data);
|
||||
}
|
||||
if (isWebIdentityProfile(data)) {
|
||||
return resolveWebIdentityCredentials(data, options);
|
||||
}
|
||||
if (isProcessProfile(data)) {
|
||||
return resolveProcessCredentials(options, profileName);
|
||||
}
|
||||
if (isSsoProfile(data)) {
|
||||
return resolveSsoCredentials(data);
|
||||
}
|
||||
throw new CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`);
|
||||
};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import { fromSSO, validateSsoProfile } from "@aws-sdk/credential-provider-sso";
|
||||
export { isSsoProfile } from "@aws-sdk/credential-provider-sso";
|
||||
export const resolveSsoCredentials = (data) => {
|
||||
const { sso_start_url, sso_account_id, sso_session, sso_region, sso_role_name } = validateSsoProfile(data);
|
||||
return fromSSO({
|
||||
ssoStartUrl: sso_start_url,
|
||||
ssoAccountId: sso_account_id,
|
||||
ssoSession: sso_session,
|
||||
ssoRegion: sso_region,
|
||||
ssoRoleName: sso_role_name,
|
||||
})();
|
||||
};
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
export const isStaticCredsProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg === "object" &&
|
||||
typeof arg.aws_access_key_id === "string" &&
|
||||
typeof arg.aws_secret_access_key === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1;
|
||||
export const resolveStaticCredentials = (profile) => Promise.resolve({
|
||||
accessKeyId: profile.aws_access_key_id,
|
||||
secretAccessKey: profile.aws_secret_access_key,
|
||||
sessionToken: profile.aws_session_token,
|
||||
});
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { fromTokenFile } from "@aws-sdk/credential-provider-web-identity";
|
||||
export const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg === "object" &&
|
||||
typeof arg.web_identity_token_file === "string" &&
|
||||
typeof arg.role_arn === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
||||
export const resolveWebIdentityCredentials = async (profile, options) => fromTokenFile({
|
||||
webIdentityTokenFile: profile.web_identity_token_file,
|
||||
roleArn: profile.role_arn,
|
||||
roleSessionName: profile.role_session_name,
|
||||
roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
|
||||
})();
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
||||
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
||||
import { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
||||
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export interface FromIniInit extends SourceProfileInit {
|
||||
/**
|
||||
* A function that returns a promise fulfilled with an MFA token code for
|
||||
* the provided MFA Serial code. If a profile requires an MFA code and
|
||||
* `mfaCodeProvider` is not a valid function, the credential provider
|
||||
* promise will be rejected.
|
||||
*
|
||||
* @param mfaSerial The serial code of the MFA device specified.
|
||||
*/
|
||||
mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
|
||||
/**
|
||||
* A function that assumes a role and returns a promise fulfilled with
|
||||
* credentials for the assumed role.
|
||||
*
|
||||
* @param sourceCreds The credentials with which to assume a role.
|
||||
* @param params
|
||||
*/
|
||||
roleAssumer?: (sourceCreds: AwsCredentialIdentity, params: AssumeRoleParams) => Promise<AwsCredentialIdentity>;
|
||||
/**
|
||||
* A function that assumes a role with web identity and returns a promise fulfilled with
|
||||
* credentials for the assumed role.
|
||||
*
|
||||
* @param sourceCreds The credentials with which to assume a role.
|
||||
* @param params
|
||||
*/
|
||||
roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise<AwsCredentialIdentity>;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* Creates a credential provider that will read from ini files and supports
|
||||
* role assumption and multi-factor authentication.
|
||||
*/
|
||||
export declare const fromIni: (init?: FromIniInit) => AwsCredentialIdentityProvider;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export * from "./fromIni";
|
||||
Generated
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
import { ParsedIniData } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
|
||||
* TODO update the above to link to V3 docs
|
||||
*/
|
||||
export interface AssumeRoleParams {
|
||||
/**
|
||||
* The identifier of the role to be assumed.
|
||||
*/
|
||||
RoleArn: string;
|
||||
/**
|
||||
* A name for the assumed role session.
|
||||
*/
|
||||
RoleSessionName: string;
|
||||
/**
|
||||
* A unique identifier that is used by third parties when assuming roles in
|
||||
* their customers' accounts.
|
||||
*/
|
||||
ExternalId?: string;
|
||||
/**
|
||||
* The identification number of the MFA device that is associated with the
|
||||
* user who is making the `AssumeRole` call.
|
||||
*/
|
||||
SerialNumber?: string;
|
||||
/**
|
||||
* The value provided by the MFA device.
|
||||
*/
|
||||
TokenCode?: string;
|
||||
/**
|
||||
* The duration, in seconds, of the role session.
|
||||
*/
|
||||
DurationSeconds?: number;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const isAssumeRoleProfile: (arg: any) => boolean;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>) => Promise<import("@smithy/types").AwsCredentialIdentity>;
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* Resolve the `credential_source` entry from the profile, and return the
|
||||
* credential providers respectively. No memoization is needed for the
|
||||
* credential source providers because memoization should be added outside the
|
||||
* fromIni() provider. The source credential needs to be refreshed every time
|
||||
* fromIni() is called.
|
||||
*/
|
||||
export declare const resolveCredentialSource: (credentialSource: string, profileName: string) => AwsCredentialIdentityProvider;
|
||||
Generated
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import { Credentials } from "@aws-sdk/types";
|
||||
import { Profile } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export interface ProcessProfile extends Profile {
|
||||
credential_process: string;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const isProcessProfile: (arg: any) => arg is ProcessProfile;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const resolveProcessCredentials: (options: FromIniInit, profile: string) => Promise<Credentials>;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>) => Promise<AwsCredentialIdentity>;
|
||||
Generated
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
import { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export { isSsoProfile } from "@aws-sdk/credential-provider-sso";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const resolveSsoCredentials: (data: Partial<SsoProfile>) => Promise<import("@smithy/types").AwsCredentialIdentity>;
|
||||
Generated
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export interface StaticCredsProfile extends Profile {
|
||||
aws_access_key_id: string;
|
||||
aws_secret_access_key: string;
|
||||
aws_session_token?: string;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const isStaticCredsProfile: (arg: any) => arg is StaticCredsProfile;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const resolveStaticCredentials: (profile: StaticCredsProfile) => Promise<AwsCredentialIdentity>;
|
||||
Generated
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export interface WebIdentityProfile extends Profile {
|
||||
web_identity_token_file: string;
|
||||
role_arn: string;
|
||||
role_session_name?: string;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const isWebIdentityProfile: (arg: any) => arg is WebIdentityProfile;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit) => Promise<AwsCredentialIdentity>;
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
||||
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
||||
import {
|
||||
AwsCredentialIdentity,
|
||||
AwsCredentialIdentityProvider,
|
||||
} from "@smithy/types";
|
||||
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
||||
export interface FromIniInit extends SourceProfileInit {
|
||||
mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
|
||||
roleAssumer?: (
|
||||
sourceCreds: AwsCredentialIdentity,
|
||||
params: AssumeRoleParams
|
||||
) => Promise<AwsCredentialIdentity>;
|
||||
roleAssumerWithWebIdentity?: (
|
||||
params: AssumeRoleWithWebIdentityParams
|
||||
) => Promise<AwsCredentialIdentity>;
|
||||
}
|
||||
export declare const fromIni: (
|
||||
init?: FromIniInit
|
||||
) => AwsCredentialIdentityProvider;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from "./fromIni";
|
||||
Generated
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import { ParsedIniData } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
export interface AssumeRoleParams {
|
||||
RoleArn: string;
|
||||
RoleSessionName: string;
|
||||
ExternalId?: string;
|
||||
SerialNumber?: string;
|
||||
TokenCode?: string;
|
||||
DurationSeconds?: number;
|
||||
}
|
||||
export declare const isAssumeRoleProfile: (arg: any) => boolean;
|
||||
export declare const resolveAssumeRoleCredentials: (
|
||||
profileName: string,
|
||||
profiles: ParsedIniData,
|
||||
options: FromIniInit,
|
||||
visitedProfiles?: Record<string, true>
|
||||
) => Promise<import("@smithy/types").AwsCredentialIdentity>;
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
||||
export declare const resolveCredentialSource: (
|
||||
credentialSource: string,
|
||||
profileName: string
|
||||
) => AwsCredentialIdentityProvider;
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
import { Credentials } from "@aws-sdk/types";
|
||||
import { Profile } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
export interface ProcessProfile extends Profile {
|
||||
credential_process: string;
|
||||
}
|
||||
export declare const isProcessProfile: (arg: any) => arg is ProcessProfile;
|
||||
export declare const resolveProcessCredentials: (
|
||||
options: FromIniInit,
|
||||
profile: string
|
||||
) => Promise<Credentials>;
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
export declare const resolveProfileData: (
|
||||
profileName: string,
|
||||
profiles: ParsedIniData,
|
||||
options: FromIniInit,
|
||||
visitedProfiles?: Record<string, true>
|
||||
) => Promise<AwsCredentialIdentity>;
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
||||
export { isSsoProfile } from "@aws-sdk/credential-provider-sso";
|
||||
export declare const resolveSsoCredentials: (
|
||||
data: Partial<SsoProfile>
|
||||
) => Promise<import("@smithy/types").AwsCredentialIdentity>;
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
||||
export interface StaticCredsProfile extends Profile {
|
||||
aws_access_key_id: string;
|
||||
aws_secret_access_key: string;
|
||||
aws_session_token?: string;
|
||||
}
|
||||
export declare const isStaticCredsProfile: (
|
||||
arg: any
|
||||
) => arg is StaticCredsProfile;
|
||||
export declare const resolveStaticCredentials: (
|
||||
profile: StaticCredsProfile
|
||||
) => Promise<AwsCredentialIdentity>;
|
||||
Generated
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
||||
import { FromIniInit } from "./fromIni";
|
||||
export interface WebIdentityProfile extends Profile {
|
||||
web_identity_token_file: string;
|
||||
role_arn: string;
|
||||
role_session_name?: string;
|
||||
}
|
||||
export declare const isWebIdentityProfile: (
|
||||
arg: any
|
||||
) => arg is WebIdentityProfile;
|
||||
export declare const resolveWebIdentityCredentials: (
|
||||
profile: WebIdentityProfile,
|
||||
options: FromIniInit
|
||||
) => Promise<AwsCredentialIdentity>;
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"name": "@aws-sdk/credential-provider-ini",
|
||||
"version": "3.451.0",
|
||||
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
||||
"main": "./dist-cjs/index.js",
|
||||
"module": "./dist-es/index.js",
|
||||
"scripts": {
|
||||
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
||||
"build:cjs": "tsc -p tsconfig.cjs.json",
|
||||
"build:es": "tsc -p tsconfig.es.json",
|
||||
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
||||
"build:types": "tsc -p tsconfig.types.json",
|
||||
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
||||
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
||||
"test": "jest"
|
||||
},
|
||||
"keywords": [
|
||||
"aws",
|
||||
"credentials"
|
||||
],
|
||||
"author": {
|
||||
"name": "AWS SDK for JavaScript Team",
|
||||
"url": "https://aws.amazon.com/javascript/"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/credential-provider-env": "3.451.0",
|
||||
"@aws-sdk/credential-provider-process": "3.451.0",
|
||||
"@aws-sdk/credential-provider-sso": "3.451.0",
|
||||
"@aws-sdk/credential-provider-web-identity": "3.451.0",
|
||||
"@aws-sdk/types": "3.451.0",
|
||||
"@smithy/credential-provider-imds": "^2.0.0",
|
||||
"@smithy/property-provider": "^2.0.0",
|
||||
"@smithy/shared-ini-file-loader": "^2.0.6",
|
||||
"@smithy/types": "^2.5.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tsconfig/recommended": "1.0.1",
|
||||
"@types/node": "^14.14.31",
|
||||
"concurrently": "7.0.0",
|
||||
"downlevel-dts": "0.10.1",
|
||||
"rimraf": "3.0.2",
|
||||
"typedoc": "0.23.23",
|
||||
"typescript": "~4.9.5"
|
||||
},
|
||||
"types": "./dist-types/index.d.ts",
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"typesVersions": {
|
||||
"<4.0": {
|
||||
"dist-types/*": [
|
||||
"dist-types/ts3.4/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist-*/**"
|
||||
],
|
||||
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-provider-ini",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
||||
"directory": "packages/credential-provider-ini"
|
||||
},
|
||||
"typedoc": {
|
||||
"entryPoint": "src/index.ts"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user