1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/script/update-s3cmd-config.js
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

22 lines
618 B
JavaScript
Executable File

#!/usr/bin/env node
const authenticateToAWS = require('../lib/authenticate-to-aws.js')
// [start-readme]
//
// This script is used by other scripts to update temporary AWS credentials and authenticate to S3.
// See docs at [Setting up awssume and S3cmd](https://github.com/github/product-documentation/tree/master/doc-team-workflows/workflow-information-for-all-writers/setting-up-awssume-and-s3cmd.md).
//
// [end-readme]
main()
async function main () {
const s3 = await authenticateToAWS()
if (s3) {
console.log('You are authenticated to s3!')
} else {
console.error('Something went wrong!')
}
}