curl -i --location 'https://gov-cbt-keystone.kakaoicloud.in/v3/auth/tokens' \
--header 'Content-Type: application/json' \
--data '{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"id": "'"${object_storage_userid}"'",
"password": "'"${object_storage_user_password}"'"
}
}
},
"scope": {
"project": {
"id": "'"${tenant_id}"'"
}
}
}
}' > result_Object_storage_header.txt
curl 명령어 뒤에 "> 파일명.확장자"를 작성하면 파일에 결과값이 저장됩니다.