Skip to content

Instantly share code, notes, and snippets.

@lucidfrontier45
Created October 3, 2025 05:19
Show Gist options
  • Select an option

  • Save lucidfrontier45/1f8ad01817b2f7cef6793d5ff7aaa4ae to your computer and use it in GitHub Desktop.

Select an option

Save lucidfrontier45/1f8ad01817b2f7cef6793d5ff7aaa4ae to your computer and use it in GitHub Desktop.
Generate Amazon Bedrock Access Token
# /// script
# requires-python = ">=3.12"
# dependencies = ["aws-bedrock-token-generator"]
# ///
from aws_bedrock_token_generator import provide_token
token = provide_token()
print(token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment