{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security"}],"enrichment":{"capability":"Generates short-term bearer tokens for AWS Bedrock API authentication, eliminating the need to expose long-term credentials in client code.","skillfed_tags":["aws-integration","token-auth","credential-management"],"use_cases":["Generate temporary tokens for web applications that need to call AWS Bedrock without embedding long-term credentials.","Create short-lived tokens for distributing to third-party clients or SDKs that require Bedrock API access.","Build multi-tenant SaaS platforms where each tenant receives a scoped, time-limited token instead of shared credentials.","Implement token-based authentication in microservices that delegate Bedrock calls to a central credential manager.","Rotate credentials frequently by regenerating tokens on a schedule without redeploying application code."],"what_it_does":"This package wraps AWS credential handling to generate time-limited bearer tokens suitable for authenticating with AWS Bedrock services. Rather than embedding long-term AWS credentials in client applications, you call provide_token() once per session to obtain a short-lived token that encodes a presigned URL with embedded temporary credentials. The token format is bedrock-api-key-<base64-encoded-presigned-url>&Version=1, with a default expiration of 12 hours (configurable up to that maximum). It integrates with botocore's credential providers, so it works with IAM roles, environment variables, assume-role chains, and other standard AWS credential sources.\n\nThe library is designed for scenarios where you need to pass authentication to a Bedrock client without exposing raw AWS credentials\u2014for example, when building web services, SDKs, or multi-tenant applications. It handles the complexity of credential expiry negotiation (the actual token lifetime is the minimum of your requested expiry and the underlying AWS credentials' remaining lifetime) and follows AWS security best practices by defaulting to short-lived tokens.","worth_installing":"Yes, if you are building applications that call AWS Bedrock and need to avoid embedding long-term credentials. The package is lightweight, has low install friction, carries a permissive license, and is maintained by AWS. However, it is still in Beta (first release 2025-07-01) and marked as aging (381 days since latest release), so verify token expiry and refresh behavior matches your use case before production deployment."},"id":"aws-bedrock-token-generator","links":{"html":"https://skillfed.io/packages/aws-bedrock-token-generator","md":"https://skillfed.io/packages/aws-bedrock-token-generator.md","pypi":"https://pypi.org/project/aws-bedrock-token-generator/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-07-29","license_spdx":null,"license_treatment":"permissive","name":"aws-bedrock-token-generator","python_support":"supports_current","summary":"A lightweight library for generating short-term bearer tokens for AWS Bedrock API authentication"},"popularity":{"monthly_downloads":1057951,"position":4428,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
