Skip to content

kmw4097/OCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Install


AWS TTS service

Compare AWS account root user and iam user

The root user is the account owner and is created when the AWS account is created. Other types of users, including IAM users, and AWS IAM Identity Center users are created by the root user or an administrator for the account. All AWS users have security credentials.

  • ROOT

    The credentials of the account owner allow full access to all resources in the account. You can't use IAM policies to explicitly deny the root user access to resources. You can only use an AWS Organizations service control policy (SCP) to limit the permissions of the root user of a member account. Because of this, we recommend that you create an administrative user in IAM Identity Center to use for everyday AWS tasks. Then, safeguard the root user credentials and use them to perform only those few account and service management tasks that require you to sign in as the root user. For the list of those tasks, see Tasks that require root user credentials.

  • IAM

    An IAM user is an entity you create in AWS that represents the person or service that uses the IAM user to interact with AWS resources. These users are identities within your AWS account that have specific custom permissions. For example, you can create IAM users and give them permissions to create a directory in IAM Identity Center. IAM users have long-term credentials that they can use to access AWS using the AWS Management Console, or programmatically using the AWS CLI or AWS APIs

Steps to use AWS TTS service in Python(Windows)

  1. Make root user account: AWS link

  2. Setting Multi Factor Authentication(MFA)

image

image

  1. Make IAM account

image

image

image

Authorize AdministratorAccess to IAM account

image

Download csv file and check your iam account and password

aws_2

  1. Make IAM account access key

aws_3

  1. Setting aws cli in Local environment
  • Install

    pip install awscli

  • check Installation

    aws

  • Register your IAM user

    aws configure
    # Register with profile name
    aws configure --profile [ProfileName]
    
    # enter your Access key, secret key
    AWS Access Key ID [None]:
    AWS Secret Access Key [None]: 
    Default region name [None]: ap-northeast-1
    Default output format [None]: text
    
    # check Access key ID, AWS Secret Access Key registered
    aws configure list
    
  • Select profile

    setx AWS_PROFILE [ProfileName]
    # setting default profile
    set AWS_DEFAULT_PROFILE=[ProfileName]
    

    You can check your profile information in .aws/config and .aws/credentials
    Insert your profile name in OCR_MODEL/TTS/tts.py line 97 session = Session(profile_name=[your ProfileName])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors