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.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 282 Workbench
- 3 Cloud Amplifier
- 4 Federated
- 2.8K Transform
- 86 SQL DataFlows
- 548 Datasets
- 2.2K Magic ETL
- 3.2K Visualize
- 2.3K Charting
- 544 Beast Mode
- App Studio
- 26 Variables
- 566 Automate
- 134 Apps
- 411 APIs & Domo Developer
- 21 Workflows
- DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 345 Distribute
- 87 Domo Everywhere
- 257 Scheduled Reports
- 1 Software Integrations
- 85 Manage
- 84 Governance & Security
- 8 Product Release Questions
- Community Forums
- 41 Getting Started
- 27 Community Member Introductions
- 81 Community Announcements
- 4.8K Archive