Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Message Queue
    • Overview
    • Configuring the AWS CLI
    • Creating a new message queue
    • Sending messages
    • Receiving and deleting messages
    • Deleting a message queue
    • Managing queue labels
    • Monitoring processes in queues
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Public materials
  • FAQ
  1. Step-by-step guides
  2. Configuring the AWS CLI

Configuring the AWS CLI

Written by
Yandex Cloud
Updated at March 28, 2025

You can manage queues and messages in Message Queue using the AWS CLI.

To configure the AWS CLI to work with Message Queue:

  1. Install the AWS CLI.

  2. Create a service account with the editor role.

  3. Create static access keys. Save the ID and secret key to a secure location. You will not be able to view the secret key parameters again after you close the window.

  4. Configure the AWS CLI:

    1. Launch the interactive profile setup:

      aws configure
      
    2. Specify the service account key ID you obtained earlier:

      AWS Access Key ID [****************ver_]: <service_account_key_ID>
      
    3. Specify the service account secret key you obtained earlier:

      AWS Secret Access Key [****************w5lb]: <service_account_secret_key>
      
    4. Specify the ru-central1 default region name:

      Default region name [ru-central1]: ru-central1
      
    5. Specify json as the default format for output data:

      Default output format [None]: json
      
    6. To view the current profile settings, run this command:

      aws configure list
      

      Result:

            Name                    Value             Type    Location
            ----                    -----             ----    --------
         profile                <not set>             None    None
      access_key     ****************aBc1 shared-credentials-file
      secret_key     ****************DeF2 shared-credentials-file
          region              ru-central1      config-file    ~/.aws/config
      

Was the article helpful?

Previous
Overview
Next
Creating a new message queue
© 2025 Direct Cursus Technology L.L.C.