-
Notifications
You must be signed in to change notification settings - Fork 8
5. Using AWS credentials with Dockerizer
Maksym Zaporozhets edited this page Jun 9, 2023
·
1 revision
This part is for developers and other IAM credentials consumers.
Place environment variables in ~/.bash_aliases or other file with the terminal configuration.
- Make sure you have the AWS CLI installed on your local machine. The AWS CLI is available for Windows, macOS, and Linux.
- Run
aws configurein the terminal, which will prompt them for the following information:
- AWS Access Key ID: The Access key ID from the IAM user created in Step 4.
- AWS Secret Access Key: The Secret access key from the IAM user created in Step 4.
- Default region name: The AWS region where the S3 bucket is located.
-
Default output format: Leave this as the default (
json).
This will create a local configuration file (~/.aws/credentials on macOS and Linux, %UserProfile%\.aws\credentials
on Windows) with the IAM user's access key and secret key. The AWS SDK and CLI (aws/aws-sdk-php composer package)
will use these credentials for authentication and authorization.
See documentation for the docker:mysql:upload-to-aws and docker:mysql:reconstruct-db commands.
- docker:mysql:connect
- docker:mysql:export-db
- docker:mysql:import-db
- docker:mysql:upload-to-aws
- docker:mysql:generate-metadata
- docker:mysql:reconstruct-db
- docker:mysql:test-metadata
- MacOS and Docker Desktop support
- Bash aliases
- Install Symfony with Dockerizer
- Running-apps-with-existing-Docker-compositions
- Limitations
- Building MySQL images with DB: how it works
- Configure AWS Lambda
- Gitlab pipeline to build images
- Managing AWS S3 access
- Using AWS credentials with Dockerizer
- Access management cheat-sheet
- FAQ