-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcredentials
30 lines (27 loc) · 1.39 KB
/
credentials
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# DO NOT COMMIT CREDENTIALS TO PUBLIC SOURCE CONTROL
# AWS Credential Configuration (see README.md)
export AWS_ACCOUNT_ID=
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_DEFAULT_REGION=
# User Configuration (see README.md)
export AUDIO_SOURCE_S3BUCKET_NAME=
export TRANSCRIPT_DESTINATION_S3BUCKET_NAME=
export TRANSCRIPT_DESTINATION_EMAIL=
export NUMBER_OF_SPEAKERS="10"
# default names
export TRANSCRIBE_ROLE_NAME="TranscribeAudioRole"
export TRANSCRIBE_POLICY_NAME="TranscribeAudioPolicy"
export TRANSCRIBE_LAMBDA_NAME="transcribeAudio"
export EXTRACT_LAMBDA_NAME="extractTranscript"
export SNS_TOPIC_NAME="TranscribeNotificationTopic"
export VOCABULARY_NAME="scribevocabulary"
# AWS Resource Codes
export AUDIO_SOURCE_S3BUCKET_ARN="arn:aws:s3:::${AUDIO_SOURCE_S3BUCKET_NAME}"
export TRANSCRIPT_DESTINATION_S3BUCKET_ARN="arn:aws:s3:::${TRANSCRIPT_DESTINATION_S3BUCKET_NAME}"
export TRANSCRIBE_ROLE_ARN="arn:aws:iam::${AWS_ACCOUNT_ID}:role/${TRANSCRIBE_ROLE_NAME}"
export TRANSCRIBE_POLICY_ARN="arn:aws:iam::${AWS_ACCOUNT_ID}:policy/${TRANSCRIBE_POLICY_NAME}"
export TRANSCRIBE_LAMBDA_ARN="arn:aws:lambda:${AWS_DEFAULT_REGION}:${AWS_ACCOUNT_ID}:function:${TRANSCRIBE_LAMBDA_NAME}"
export EXTRACT_LAMBDA_ARN="arn:aws:lambda:${AWS_DEFAULT_REGION}:${AWS_ACCOUNT_ID}:function:${EXTRACT_LAMBDA_NAME}"
export SNS_TOPIC_ARN="arn:aws:sns:${AWS_DEFAULT_REGION}:${AWS_ACCOUNT_ID}:${SNS_TOPIC_NAME}"