티스토리 뷰
반응형
글 수정 중
pip install oci
oci reference
https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/quickstart.html
config에 인증 정보가 필요 함, 그 인증 정보들 어디서 어떻게 얻는지 아래 링크에 나와 있음
rsa key, fingerprint, region, ids 등등
https://docs.cloud.oracle.com/iaas/Content/API/Concepts/sdkconfig.htm
from oci.identity import IdentityClient
# config = from_file(file_location = )
#https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm
#key, 등등
config = config = {
"user": 'ocid1.user.blahblahblah',
"key_file": 'I:/oci_keys/oci_key.pem',
"fingerprint": 'ee:45:~~~~~~~~~~~~~',
"pass_phrase": 'password',
"tenancy": 'ocid1.tenancy.blahblahblah',
"region": 'ap-seoul-1'
}
identity = IdentityClient(config)
'Python' 카테고리의 다른 글
Baekjoon 백준 12790번 Mini Fantasy War (0) | 2020.02.21 |
---|---|
Baekjoon 백준 2751번 수 정렬하기 2 (0) | 2020.02.21 |
tesseract-OCR 환경변수 (0) | 2020.02.11 |
ncloud python3 boto3 s3 오브젝트 스토리지 업로드 예제 object storage upload example (0) | 2019.11.21 |
Python Oracle cx_oracle연동 (0) | 2019.11.04 |
댓글
티스토리 방명록
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
Blog is powered by
Tistory / Designed by
Tistory
Contact: j0n9m1n1@gmail.com
Contact: j0n9m1n1@gmail.com