| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- design pattern
- Winform
- AWS
- react
- 스프링
- 자바
- git
- VOA
- Spring
- Python
- 리액트
- machine-learning
- 스프링부트
- c#
- 도커
- MySQL
- Spring Boot
- Java
- docker
- kubernetes
- 리팩토링
- github
- 코틀린
- Kotlin
- mybatis
- springboot
- 파이썬
- DataGridView
- 쿠버네티스
- 마이바티스
Archives
- Today
- Total
보뇨 다이어리
The security token included in the request is invalid 발생할때 에러 해결 본문
컴퓨터 관련/개발지식 정보
The security token included in the request is invalid 발생할때 에러 해결
보뇨 2023. 5. 1. 15:45반응형
AWS 공부를 하던중 아래와 같이 진행할려다가 에러가 발생했다.
aws configure 자체에서도 문제가 없었고 분명 제대로 넣었는데 왜 저런 문제가 발생하는지 생각해보니...
회사에서도 aws 를 쓰고있는데 토큰값도 같이 사용하고있다. 그렇기때문에 내 계정에서 사용하고있지않은 토큰정보값을 지워주니 제대로 접속이 가능했다.
# aws configure 설정
aws configure
# iam 유저 조회
aws iam list-users
An error occurred (InvalidClientTokenId) when calling the ListUsers operation: The security token included in the request is invalid
실제 토큰이 들어가는쪽은 ~/.aws/credential 파일에 있는데 이곳에 aws_access_key_id, aws_secret_access_key 값들이 저장되어있다.
아래 코드는 주석처리함으로써 동작시켜두었다.
[default]
aws_access_key_id = accessKeyId
aws_secret_access_key = acessKey
#aws_session_token=sessionToken반응형
'컴퓨터 관련 > 개발지식 정보' 카테고리의 다른 글
| 소프트웨어 설계의 정석 (3) | 2024.11.18 |
|---|---|
| Five lines of code 책을 읽고나서 (0) | 2023.04.16 |
| 리팩토링에 관한 다양한 방법들중 쓸만한 규칙 (0) | 2023.04.16 |
| 실무중 가장 많이 사용할 linux 커맨드 리스트 (0) | 2022.05.22 |
| strategy pattern 과 template method pattern 비교 (0) | 2019.12.27 |