How do we use the AWS assume role functionality with the upload-s3 Domo CLI command?
Merri_D
Member
We have set up an AWS Role and AWS Profile to connect to an AWS S3 bucket. If we are using the upload-s3 Domo CLI command, how should we use the AssumeRole profile to connect, instead of passing a static access key and secret in the command line (upload-s3)?
0
Answers
-
To use the AWS Role and AWS Profile that you have set up to connect to an S3 bucket when using the upload-s3 Domo CLI command, you can follow these steps:
- Ensure that the AWS CLI is installed on your machine.
- Configure the AWS CLI by running the command
aws configure --profile <your-profile-name>
. This will prompt you to enter your AWS Access Key ID, Secret Access Key, Default region name, and Default output format. Make sure to enter the Access Key ID and Secret Access Key for the AWS Role that you want to assume. - In the Domo CLI command, use the
--aws-profile
flag to specify the name of the AWS Profile that you configured in step 2. For example:domo upload-s3 --aws-profile <your-profile-name> <your-file-path> s3://<your-bucket-name>/<your-object-key>
When you use the
--aws-profile
flag, the Domo CLI will use the credentials stored in the AWS Profile to assume the AWS Role that you have set up, rather than passing a static Access Key ID and Secret Access Key in the command line.Let me know if this helps.
1 -
Thanks for that, Lowell - we'll give it a go.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive