Configure AWS CLI
The following includes information to get an administrator through a configuration quickly. For detailed configuration instructions, refer to the AWS documentation on Configuring the AWS CLI.
Follow the steps below to configure the AWS CLI. The AWS Access key ID and Secret access key specified below are the user security credentials obtained in the previous step Create User and CLI Key.
To configure the AWS CLI, do the following:
- Login to the EJBCA server as the wildfly user.
- Start the AWS CLI configuration using the following command:CODE
# aws configure
- Enter the AWS Access Key ID at the prompt:CODE
# AWS Access Key ID [None]:AKIAI4IWZABCDEFCNWVA
- Enter the AWS Secret Access Key at the prompt:CODE
# AWS Secret Access Key [None]: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
- Enter the Default region name at the prompt. CODE
# Default region name [None]: us-east-1
You must specify an AWS region when using the AWS CLI, either explicitly or by setting a default region. For a list of the available regions, refer to the AWS documentation on AWS Service Endpoints. The region designators used by the AWS CLI are the same names displayed in the AWS Management Console URLs and service endpoints.
- Press Enter at the prompt for the Default output format to enter [None].
Next, Create the S3 Bucket.