並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 23 件 / 23件

新着順 人気順

python requests session authorizationの検索結果1 - 23 件 / 23件

  • API シナリオテストツール Postman・Tavern・runn 徹底比較 – 私が runn を選んだ理由 - TechDoctor開発者Blog

    はじめに はじめまして、テックドクターでバックエンドエンジニアをしている筧と申します。 最近、弊社では API の品質を担保するために「API シナリオテスト」をプロダクトに導入しました。今回は、この API シナリオテストのツールである Postman(+Newman)、Tavern そして runn を比較し、最終的に runn を選んだ理由をご紹介します。 API シナリオテストとは? API シナリオテストとはなんでしょうか? 開発におけるテストといえば、ユニットテストや結合テスト、API テストや E2E テストなどをよく耳にします。しかしAPI シナリオテストという言葉はあまり聞き馴染みがないという方も多いかもしれません。 API シナリオテストは API テストの一種で、複数の API を連鎖的に呼び出して実行するテストです。以下の特徴を持っています。 複数の API を順序

      API シナリオテストツール Postman・Tavern・runn 徹底比較 – 私が runn を選んだ理由 - TechDoctor開発者Blog
    • Security best practices when using ALB authentication | Amazon Web Services

      Networking & Content Delivery Security best practices when using ALB authentication At AWS, security is the top priority, and we are committed to providing you with the necessary guidance to fortify the security posture of your environment. In 2018, we introduced built-in authentication support for Application Load Balancers (ALBs), enabling secure user authentication as they access applications.

        Security best practices when using ALB authentication | Amazon Web Services
      • Python で RDS に格納されている各種ログをダウンロードする - 継続は力なり

        タダです. AWS 利用料のうち CloudWatch Logs への取り込みが高くかかっていました( DataProcessing-Bytes という項目).そこで,下記のページを参照して調べてみたところ一番容量があったのが Aurora のログでした.そのログを CloudWatch Logs に出力せずダウンロードし,S3 などにアップロードしていけばコスト削減に繋がりそうです.この記事では,ダウンロードを Python でやってみた内容をまとめていきます. aws.amazon.com Python で RDS ログダウンロードのための手段 DownloadCompleteLogFile でのログダウンロードを試してみる まとめ Python で RDS ログダウンロードのための手段 boto3 のドキュメントを見てみたらログダウンロードをするのに, download_db_log

          Python で RDS に格納されている各種ログをダウンロードする - 継続は力なり
        • Aurora MySQLログの収集と分析基盤の紹介 - LayerX エンジニアブログ

          こんにちは!バクラク事業部 Platform Engineering部 SREグループの taddy(id:sadayoshi_tada)です。 みなさんはデータベースサーバのログの分析が必要になった時どのように対処されていますか?バクラクではAmazon Aurora MySQL互換(以降Auroraと呼称します)を使用していて、Aurora内部に保持しているログを収集し、分析する基盤を運用しているためこの記事でその紹介をします。 Aurora内部に保持しているログの出力 Auroraのログダウンロードのための手段検討 AuroraのログダウンロードとS3アップロードの概要 実行基盤の選定 S3に格納したログの分析 S3に保管しているログのパス概観 Audit logの分析例 SOC1監査での利用 まとめ 終わりに Aurora内部に保持しているログの出力 Aurora内部に保持している

            Aurora MySQLログの収集と分析基盤の紹介 - LayerX エンジニアブログ
          • とほほのOpenID Connect入門 - とほほのWWW入門

            OpenID Connectとは 用語 OpenID Connectを試してみる OP側の準備 - AWS Cognito ユーザープールと最初のクライアントを作成する 作成されたパラメータを確認する ディスカバリ ユーザープールにユーザを追加する RP側の準備 - Pythonアプリ 実施 認証の流れ ログインする トークンをリフレッシュする トークンを失効させる ログアウトする IDトークンの形式 サンプルコード リンク OpenID Connectとは SSO(シングルサインオン)を実現するプロトコルのひとつです。 例えば、食べログ に Google アカウントでログインすることができますが、ここでも OpenID Connect が使用されています。 OIDC と略されることもあります。 類似の仕様に OpenID 2.0 がありましたが、OpenID 2.0 の進化系が Open

            • May 2025 (version 1.101)

              Release date: June 12, 2025 Security update: The following extension has security updates: ms-python.python. Update 1.101.1: The update addresses these issues. Update 1.101.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the May 2025 release of Visual Studio Code. There are many updates in this version

                May 2025 (version 1.101)
              • A Critical Look at MCP - Raz Blog

                "MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools." ― Anthropic TL;DR I would like for this to turn out to be a skill

                  A Critical Look at MCP - Raz Blog
                • Real-world gen AI use cases from the world's leading organizations | Google Cloud Blog

                  AI is here, AI is everywhere: Top companies, governments, researchers, and startups are already enhancing their work with Google's AI solutions. Published April 12, 2024; last updated October 9, 2025. A year and a half ago, during Google Cloud Next 24, we published this list for the first time. It numbered 101 entries. It felt like a lot at the time, and served as a showcase of how much momentum b

                    Real-world gen AI use cases from the world's leading organizations | Google Cloud Blog
                  • Manus tools and prompts

                    agent loop �� �p�� You are Manus, an AI agent created by the Manus team. You excel at the following tasks: 1. Information gathering, fact-checking, and documentation 2. Data processing, analysis, and visualization 3. Writing multi-chapter articles and in-depth research reports 4. Creating websites, applications, and tools 5. Using programming to solve various problems beyond development 6. Variou

                      Manus tools and prompts
                    • APIの性能テストにLocustを使ってみた|SHIFT Group 技術ブログ

                      はじめにこんにちは。SHIFTのインフラ・アーキテクトの岡田です。 テストツールのLocustを使用してAPIの性能テストを行う機会がありました。そこで得た知見を、よく使用する機能に絞って紹介したいと思います。「Locustを使ってすぐに性能テストを始めたい!」という方の一助になれば幸いです。 Locustって何?Locust( https://locust.io/ )はWebアプリケーションやAPIの性能テストを行うための、オープンソースの負荷テストツールです。同様のものとしてはJMeterやk6などが有名ですが、Locustの特徴は何といってもPythonでテストスクリプトを書けることです。 テストスクリプトは普通のPythonプログラムなので、使い慣れたIDEはそのまま使用できます。また、Pythonの豊富なパッケージを使ってテスト結果を処理したり、CI/CDに性能テストを組み込むこ

                        APIの性能テストにLocustを使ってみた|SHIFT Group 技術ブログ
                      • October 2025 (version 1.106)

                        Version 1.106 is now available! Read about the new features and fixes from October. Release date: November 12, 2025 Update 1.106.1: The update addresses these issues Update 1.106.2: The update addresses these issues Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the October 2025 release of Visual Studio Code. This release brings significan

                          October 2025 (version 1.106)
                        • Posts | Bluesky

                          This is an in-depth dive into how creating a post works on Bluesky. We'll use Python below, without a SDK, so you can see how it works behind the scenes. You can skip the tutorial and get the full script of examples here. Post Record Structure​ Here is what a basic post record should look like, as a JSON object: { "$type": "app.bsky.feed.post", "text": "Hello World!", "createdAt": "2023-08-07T05:3

                            Posts | Bluesky
                          • 防衛省サイバーコンテスト2023 Writeups - はまやんはまやんはまやん

                            [crypto] Simple Substitution Cipher [crypto] Substitution Cipher [crypto] Administrator Hash(NTLM hash) [crypto] Administrator Password [crypto] Hash Extension Attack [forensics] The Place of The First Secret Meeting [forensics] The Deleted Confidential File [forensics] They Cannot Be Too Careful. [forensics] The Taken Out Secrets [forensics] Their Perpetration [NW] Transfer [NW] Analysis [NW] Enu

                              防衛省サイバーコンテスト2023 Writeups - はまやんはまやんはまやん
                            • Expert used ChatGPT-4o to create a replica of his passport in just 5 minutes bypassing KYC

                              SECURITY AFFAIRS MALWARE NEWSLETTER ROUND 41 | Security Affairs newsletter Round 519 by Pierluigi Paganini – INTERNATIONAL EDITION | China admitted its role in Volt Typhoon cyberattacks on U.S. infrastructure | Symbolic Link trick lets attackers bypass FortiGate patches, Fortinet warns | Attackers are exploiting recently disclosed OttoKit WordPress plugin flaw | Laboratory Services Cooperative dat

                                Expert used ChatGPT-4o to create a replica of his passport in just 5 minutes bypassing KYC
                              • [サンプルコード付き]IAM認証をかけたAmazon API Gatewayにアクセスする

                                Amazon API Gateway(以下、API Gateway)の HTTP API で IAM 認証をかけてアクセスする方法について紹介します。 IAM 認証の設定 API Gateway のマネジメントコンソールから API の詳細に行き、「認可」選択して、下図のようにオーソライザーに「IAM(組込み型)」をアタッチします。 設定後 API Gateway の URL をたたくと Forbidden になります(設定前は誰でもアクセスできる状態でした)。 必要な権限 管理ポリシー AmazonAPIGatewayInvokeFullAccess をアタッチしておく必要があります。最低でも execute-api:Invoke が必要です。 Postman でアクセスする ローカル環境でアクセスする場合 Postman を使うと簡単です。前もって AWS アクセスキーとシークレットキ

                                  [サンプルコード付き]IAM認証をかけたAmazon API Gatewayにアクセスする
                                • Effectively building AI agents on AWS Serverless | Amazon Web Services

                                  AWS Compute Blog Effectively building AI agents on AWS Serverless Imagine an AI assistant that doesn’t just respond to prompts – it reasons through goals, acts, and integrates with real-time systems. This is the promise of agentic AI. According to Gartner, by 2028 over 33% of enterprise applications will embed agentic capabilities – up from less than 1% today. While early generative AI efforts foc

                                    Effectively building AI agents on AWS Serverless | Amazon Web Services
                                  • ネットワークエンジニアのための自動化入門(Python / REST API等) - 技術を楽しもう!

                                    はじめに Python pexpect netmiko Ansible REST API (RESTCONF) Jenkins 昔からネットワーク機器を多く相手にしてきたエンジニアは、 CLIで設定を作って投入することが多く、プログラミングが苦手な方が多い印象です。 近頃はネットワークも自動化の波が大きく、 APIによる設定変更に対応している機器も増えてきました。 ネットワークに詳しく、自動化等にも長けたエンジニアは、 現在も希少価値が高い印象ですので、 まず、どんな手法があるのかを知ることから始めてはいかがでしょうか。 はじめに 古くからある手法ですが、Excel関数を駆使してConfigを出力して、 Teratermマクロで投入することも立派なネットワーク自動化(効率化)です。 例えば、下記の記事のようなものです。 itchrome.blogspot.com ただ、初期構築時ならまだし

                                      ネットワークエンジニアのための自動化入門(Python / REST API等) - 技術を楽しもう!
                                    • GitHub Actions の Repository Secrets を登録する Python スクリプトを書いてみた | DevelopersIO

                                      サーモン大好き横山です。 GitHub Actions を利用する上で、1つの Organization に複数のチームで利用していて、 Organization Secret を登録しにくい場合に、自分たちで管理する各 Repository Secret に登録・更新する作業が面倒になることがありますよね。……はい、うちは面倒になりました。 ということで Python コードを書きました。 事前準備 Python バージョン $ python3 -V Python 3.10.4 パッケージインストール $ pip install requests pynacl コード GitHub の REST API の Doc に書いてある方法を一部そのまま使いました。 ORG_NAME 、 REPO_NAMES 、 GITHUB_TOKEN、 ACTIONS_SECRETS の値は適宜書き換えて実

                                        GitHub Actions の Repository Secrets を登録する Python スクリプトを書いてみた | DevelopersIO
                                      • Litestar is worth a look

                                        A few years ago at work, I had a project which offered an opportunity to look at the new generation of async-first, type-hint-driven Python web frameworks. For reasons which aren’t particularly relevant today, on that project I ended up choosing Litestar, which is the one that doesn’t have a ravenous all-consuming hype machine surrounding it. And I’m very glad I did, because today I’m more convinc

                                          Litestar is worth a look
                                        • What’s new in notarization for Mac apps - WWDC22 - Videos - Apple Developer

                                          Notarization works in tandem with macOS to help people safely download software for their Mac outside of the App Store. Learn about the required transition from altool to notarytool and how the Xcode GUI can help you achieve better overall performance when notarizing your app. We'll also share information about APIs for interacting with the Notary service from any internet-connected machine. Resou

                                            What’s new in notarization for Mac apps - WWDC22 - Videos - Apple Developer
                                          • Amazon Bedrock AgentCoreのRuntime、Built-in Tools、Gatewayを実装して試してみる - NRIネットコムBlog

                                            本記事は AWSアワード受賞者祭り 8日目の記事です。 ✨🏆 7日目 ▶▶ 本記事 ▶▶ 9日目 🏆✨ はじめに 1. AgentCore Runtime 主な特徴 ローカルで実行してみる AWSへのデプロイ 2. AgentCore Built-in Tools 主な特徴 ツール単体で実行してみる コード 実行結果 ライブラリの確認 AgentCore Runtimeから使ってみる コード 出力結果 3. AgentCore Gateway 主な特徴 LambdaからGatewayを作成する Lambda関数の作成 コード Gatewayの作成 Strands Agentsから使ってみる コード 実行結果 おわりに はじめに AWS Summit New York City 2025で、Bedrock AgentCoreというサービスが発表されました。 aws.amazon.com

                                              Amazon Bedrock AgentCoreのRuntime、Built-in Tools、Gatewayを実装して試してみる - NRIネットコムBlog
                                            • 全力君

                                              記事一覧に戻る はじめに この記事の内容 前提 利用までの流れ アクセス・トークンの取得手順 1.Fitbitアカウントを作成 2.Web APIを利用するアプリを登録 3.アクセス・トークンの発行(OAuth2.0 tutorial) App Settings Step1: Generate PKCE and State Values Step2: Display Authorization Page Step 3: Handle the Redirect Step 4: Get Tokens チュートリアルの残りについて PythonでWeb APIを実行 1.バージョンや外部パッケージについて 2.Web APIについて 特記事項 実行するエンドポイント 3.実行前の準備 アクセス・トークン等の読取りについて ヘッダ 4.Refresh Token(アクセス・トークンの再取得) エン

                                                全力君
                                              • ChatGPT+Pythonでボイスロイドとリアルタイムで音声会話できるプログラムを作った

                                                ChatGPTを試していて、想像以上に受け答えがしっかりしている印象を持ちました。入力と出力を音声に置き換えてアレクサのように応答できれば、音声ベースでAIと対話できるのでは?と思い、プログラムを作ってみました。 作ったもの プログラムを起動し、音声で問いかけることで音声でメッセージが返ってきます。 音声出力の方法としてボイスロイドを用いました。このツイートの例ではVOICEVOXの「春日部つむぎ」にしゃべってもらっています。 作り方 やることはシンプルで↓のような流れになります。 音声の入力を受けつけ、なるべく正確にテキストに変換する ChatGPTにそのテキストを送信し、返答を受け取る 返ってきたメッセージをVOICEVOXのメッセージ合成APIに送信し、合成後のメッセージを.wav形式で保存する プログラム内でその.wavファイルを再生する 上記の流れをループさせることで、何回でも対

                                                  ChatGPT+Pythonでボイスロイドとリアルタイムで音声会話できるプログラムを作った
                                                1