# Aws Cli > Code examples that show how to use AWS Command Line Interface with Bash script with AWS. ## Pages - [Bash script examples](bash-code-examples.md): Code examples that show how to use AWS Command Line Interface with Bash script with AWS. - [Short-term credentials](cli-authentication-short-term.md): Configure the AWS CLI to authenticate using short-term credentials. - [IAM users](cli-authentication-user.md): Configure the AWS CLI and specify the settings for interacting with AWS. - [Authentication and access credentials](cli-chap-authentication.md): This chapter covers the authentication and credential processes to configure for programmatic access with the AWS CLI... - [AWS CLI examples](cli-chap-code-examples.md): This chapter provides examples that show you how to use the AWS CLI with AWS services. - [Configure the AWS CLI](cli-chap-configure.md): Configure settings that the AWS CLI uses to interact with AWS. - [Get started](cli-chap-getting-started.md): Get started with the AWS CLI version 2 with instructions on how to install the AWS CLI and the prerequisites needed t... - [Guided command examples](cli-chap-services.md): See examples of using the AWS CLI to perform administrator and user tasks in AWS services. - [Troubleshoot errors](cli-chap-troubleshooting.md): This section covers common errors and troubleshooting steps to follow to diagnose and fix a variety of AWS Command Li... - [Using the AWS CLI](cli-chap-using.md): Use the AWS Command Line Interface with the common features and calling patterns. - [About the AWS CLI](cli-chap-welcome.md): Use the AWS CLI to control AWS services from the command line of your preferred terminal and automate them using scri... - [Command completion](cli-configure-completion.md): The AWS CLI includes a bash-compatible command-completion feature that enables you to use the Tab key to complete a p... - [Endpoints](cli-configure-endpoints.md): The AWS CLI automatically uses the default endpoint for each service in an AWS Region, but you can specify an alterna... - [Environment Variables](cli-configure-envvars.md): Environment variables provide another way to specify configuration options and credentials, and can be useful for scr... - [Configuration settings](cli-configure-files.md): You can save your frequently used configuration settings and credentials in files that are divided into named profiles. - [Amazon EC2 metadata](cli-configure-metadata.md): When you run the AWS CLI from within an Amazon EC2 instance, the instance contains metadata that can be queried for t... - [Command line options](cli-configure-options.md): In the AWS CLI, command line options are global parameters you can use to override configuration settings for that co... - [HTTP proxies](cli-configure-proxy.md): Learn how to configure the AWS CLI to use an HTTP proxy through environment variables using DNS domain names, IP addr... - [Retries](cli-configure-retries.md): Customize retries for failed AWS CLI API calls that can occur on the server side, or fail due to rate limiting from t... - [IAM roles](cli-configure-role.md): Configure the AWS CLI to use a role defined in AWS Identity and Access Management. - [Console credentials](cli-configure-sign-in.md): **Source:** - [External credentials](cli-configure-sourcing-external.md): Sourcing external credentials that isn't directly supported by the AWS CLI. - [IAM Identity Center authentication](cli-configure-sso.md): This section directs you to instructions to configure the AWS CLI to authenticate users with IAM Identity Center to g... - [Enforcing a minimum TLS version](cli-security-enforcing-tls.md): Learn how to enforce a minimum version of TLS 1.2 for the AWS CLI. - [Aliases](cli-usage-alias.md): Aliases are shortcuts you can create in the AWS Command Line Interface to shorten commands or scripts that you freque... - [Command Structure](cli-usage-commandstructure.md): Learn how to structure a multipart command and "wait" commands for the AWS Command Line Interface to communicate with... - [Get Help](cli-usage-help.md): Learn how to access help content for the AWS CLI including the built-in help command, online reference documentation,... - [Control Command Output](cli-usage-output.md): Control the format of the output from the AWS CLI. - [Auto-prompt](cli-usage-parameters-prompting.md): How to get the AWS CLI to dynamically prompt you for parameters. - [Specify Parameter Values](cli-usage-parameters.md): Specify and pass parameters as values for the AWS CLI command options. - [Return Codes](cli-usage-returncodes.md): Understand the return codes provided by the AWS CLI. - [Wizards](cli-usage-wizard.md): Use the wizard subcommand to guide you through the input for a command in the AWS Command Line Interface. - [Command examples](cli-code-examples.md): Code examples that show how to use AWS Command Line Interface with AWS. - [New features and changes](cliv2-migration-changes.md): Learn about new features and changes in behavior between AWS CLI version 1 and AWS CLI version 2. - [Migration instructions](cliv2-migration-instructions.md): Learn how to migrate from AWS CLI version 1 to AWS CLI version 2. - [Migration guide](cliv2-migration.md): Learn how to update the AWS CLI version 1 to AWS CLI version 2, and learn about the differences between the versions. - [Compliance Validation](compliance-validation.md): Provides information about compliance validation for this AWS product or service. - [Data Protection](data-protection.md): Learn how the AWS shared responsibility model applies to data protection when using the AWS CLI. - [Resilience](disaster-recovery-resiliency.md): Provides information about resilience for this AWS Product or Service. - [Document History](document-history.md): Find the revision dates, related releases, and important changes to the AWS Command Line Interface User Guide. - [Amazon ECR Public/Docker](getting-started-docker.md): This topic describes how to run, version control, and configure the AWS CLI version 2 on Docker using either the offi... - [Install/Update](getting-started-install.md): Instructions to install or update the AWS CLI on your system. - [Prerequisites](getting-started-prereqs.md): Before you install the AWS Command Line Interface version 2 on your system you need an AWS account and IAM credentials. - [Setup](getting-started-quickstart.md): Learn how to quickly configure basic settings that the AWS Command Line Interface uses to interact with your resource... - [Build and install from source](getting-started-source-install.md): Install the AWS CLI from the GitHub source on your system. - [Past releases](getting-started-version.md): Install past releases of the AWS Command Line Interface version 2 on support operating systems. - [Infrastructure Security](infrastructure-security.md): Provides information about infrastructure security for this AWS product or service. - [Identity and Access Management](security-iam.md): How to authenticate requests and manage access to your AWS resources. - [Security](security.md): Configure the AWS CLI to meet your security and compliance objectives, and learn how to use the AWS CLI to securely a... - [Uninstall](uninstall.md): Learn how to uninstall and remove the AWS Command Line Interface version 2 from your system. - [About the examples](welcome-examples.md): The AWS CLI examples in this guide are formatted in a specific way. - [Additional documentation and resources](welcome-resources.md): Additional documentations and resources for the AWS CLI.