How do we use the AWS assume role functionality with the upload-s3 Domo CLI command?
Options
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
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 146 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive