Logs in via AWS SSO and writes temporary credentials to ~/.aws/credentials so tools like NoSQL Workbench can use them.
# Login with default profile
aws-sso-creds| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| labels: | |
| app: app | |
| name: app | |
| namespace: portals | |
| spec: | |
| progressDeadlineSeconds: 600 |
| import java.util.*; | |
| import java.util.stream.Collectors; | |
| public class TableRelation { | |
| public static void main(String[] args) { | |
| ArrayList<Table> tablesList = new ArrayList<Table>(); | |
| // tableColumnDetails |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Nightwatch HTML Report - Default Theme</title> | |
| <style type="text/css">body{ | |
| margin: 10px; | |
| font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| font-size: 0.8em; | |
| } |
| // we set up the data fetch and hand the data | |
| // to our main function | |
| const fetch = require('node-fetch'); | |
| const getRedditJSONUrl = url => url.replace(/\/?$/, '.json'); | |
| const fetchData = url => fetch(url).then(response => response.json()); | |
| const extractPosts = redditPage => redditPage.data.children; |