1
0
mirror of synced 2025-12-20 02:19:14 -05:00
Files
docs/script/update-s3cmd-config.js
Kevin Heis 11d8e415da Check repository references (#16680)
* Check repository references

* Remove "foundRepoNames" that I used to find all the unique names

* A little speed up with Set

* Ignore a few files

* Remove remaining references

* Update README.md
2020-12-03 16:41:03 +00:00

21 lines
422 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.
//
// [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!')
}
}