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
    • 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 Cloud Postbox
  • Getting started
    • AWS CLI
  • Access management
  • Pricing policy
  • Audit Trails events
  • Release notes

In this article:

  • Getting started
  • Installation
  • Setup
  • Configuration files
  1. Tools
  2. AWS CLI

AWS CLI

Written by
Yandex Cloud
Updated at March 28, 2025
  • Getting started
  • Installation
  • Setup
    • Configuration files

The AWS CLI is a command line interface designed for AWS services. To learn how to run commands, see the official Amazon documentation.

Getting startedGetting started

  1. Create a service account.
  2. Assign the roles required for your project to the service account. For more information about roles, see the Identity and Access Management documentation.
  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.

InstallationInstallation

To install the AWS CLI, follow the guide on the vendor's website.

SetupSetup

To configure the AWS CLI, run the aws configure command in your terminal. The command will request values for the following parameters:

  1. AWS Access Key ID: ID of the static key created when getting started.

  2. AWS Secret Access Key: Contents of the static access key.

  3. Default region name: ru-central1.

    To work with Yandex Cloud Postbox, always specify the ru-central1. A different region value may lead to an authorization error.

  4. Leave the other parameters unchanged.

Configuration filesConfiguration files

The aws configure command saves the static key and the region.

  • Static key format in .aws/credentials:

    [default]
      aws_access_key_id = <static_key_ID>
      aws_secret_access_key = <static_key_contents>
    
  • Default region format in .aws/config:

    [default]
      region = ru-central1
    
  • You can create multiple profiles for different service accounts by specifying their details in the .aws/credentials file:

    [default]
      aws_access_key_id = <ID_of_static_key_1>
      aws_secret_access_key = <contents_of_static_key_1>
    [<name_of_profile_2>]
      aws_access_key_id = <ID_of_static_key_2>
      aws_secret_access_key = <contents_of_static_key_2>
    ...
    [<name_of_profile_n>]
      aws_access_key_id = <ID_of_static_key_n>
      aws_secret_access_key = <contents_of_static_key_n>
    

    Where default is the default profile.

Was the article helpful?

Previous
Streaming Yandex Cloud Postbox events to Yandex Data Streams and analyzing them using Yandex DataLens
Next
Access management
© 2025 Direct Cursus Technology L.L.C.