npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aws-sdk-extension/trusted-identity-propagation

v2.0.0

Published

AWS credential provider that sources credentials that obtains identity-aware credentials for trusted identity propagation

Readme

Trusted Identity Propagation Plugin for AWS SDK for JavaScript v3

Trusted identity propagation enables AWS services to grant permissions based on user attributes such as group associations, add context to an IAM role identifying the user requesting access to AWS resources, and propagate this context to other AWS services.

This plugin provides the functionality to exchange an Id token issued by a trusted token issuer for an IAM Identity Center token and pass it to AWS services (e.g., AWS S3, Amazon Q) that use it to make authorization decisions.

Installation

In your project, add @aws-sdk-extension/trusted-identity-propagation to your dependencies.

npm install @aws-sdk-extension/trusted-identity-propagation

Usage

Initialize the plugin and provide it as an extension to the SDK that you want to use trusted identity propagation with.

import { SSOAdminClient } from '@aws-sdk/client-sso-admin';
import { TrustedIdentityPropagationExtension } from '@aws-sdk-extension/trusted-identity-propagation';

// Plugin configurations, please refer to the documentation on each of these fields.
const applicationRoleArn = 'YOUR_APPLICATION_ROLE_ARN';
const accessRoleArn = 'YOUR_ACCESS_ROLE_ARN';
const applicationArn = 'YOUR_APPLICATION_ARN';

const ssoAdminClient = new SSOAdminClient({
    region: 'us-east-1',
    extensions: [
        TrustedIdentityPropagationExtension.create({
            webTokenProvider: async () => {
                return 'ID_TOKEN_FROM_YOUR_IDENTITY_PROVIDER';
            },
            applicationRoleArn,
            accessRoleArn,
            applicationArn,
        }),
    ],
});

Please refer to the TIP Plugin documentation for input parameters details.

Install from source

The plugin has been published to NPM and can be installed as described above. If you want to play with the latest version, you can build from source as follows.

  1. Clone this repository locally
git clone https://github.com/aws-sdk-plugin/trusted-identity-propagation-js.git
  1. Install dependencies and build the plugin
npm ci
npm run build
  1. Pack the plugin
npm pack

This will create an archive file named something like aws-sdk-extension-trusted-identity-propagation-1.0.0.tgz. The version number at the end changes based on the current version of the plugin.

  1. Change directory to the project you are working on and move the archive file to the location to store the vendor packages
mv path/to/trusted-identity-propagation-js/aws-sdk-extension-trusted-identity-propagation-1.0.0.tgz ./path/to/vendors/folder
  1. Install the package to your project
npm install ./path/to/vendors/folder/aws-sdk-extension-trusted-identity-propagation-1.0.0.tgz

Node.js versions

This plugin supports Node.js >= 18.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.