Difference between revisions of "$HOME/.boto"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
[Credentials] | [Credentials] | ||
[[gs_service_key_file]] = /path/to/[[gcloud-auth.json]] | [[gs_service_key_file]] = /path/to/[[gcloud-auth.json]] | ||
+ | [Boto] | ||
+ | https_validate_certificates = True | ||
+ | [GoogleCompute] | ||
+ | [GSUtil] | ||
+ | content_language = en | ||
+ | default_api_version = 2 | ||
+ | default_project_id = your-project-name | ||
+ | [OAuth2] | ||
+ | |||
+ | cat $HOME/.boto | grep -v "#" | grep . | ||
+ | [Credentials] | ||
+ | [[gs_oauth2_refresh_token]] = 6//09y8-vZ8V3q0sCgYIARAAGAkSNwgBxxxxx | ||
[Boto] | [Boto] | ||
https_validate_certificates = True | https_validate_certificates = True | ||
Line 15: | Line 27: | ||
== Related == | == Related == | ||
* <code>[[gsutil config -e]]</code> | * <code>[[gsutil config -e]]</code> | ||
+ | * [[OAuth2]] | ||
+ | * <code>[[gcloud]]</code> | ||
+ | * <code>[[~/.kube/config]]</code> | ||
== See also == | == See also == | ||
+ | * {{gsutil config}} | ||
+ | * {{gsutil}} | ||
* {{Boto3}} | * {{Boto3}} | ||
[[Category:Python]] | [[Category:Python]] |
Latest revision as of 18:57, 2 August 2022
cat $HOME/.boto | grep -v "#" | grep . [Credentials] gs_service_key_file = /path/to/gcloud-auth.json [Boto] https_validate_certificates = True [GoogleCompute] [GSUtil] content_language = en default_api_version = 2 default_project_id = your-project-name [OAuth2]
cat $HOME/.boto | grep -v "#" | grep . [Credentials] gs_oauth2_refresh_token = 6//09y8-vZ8V3q0sCgYIARAAGAkSNwgBxxxxx [Boto] https_validate_certificates = True [GoogleCompute] [GSUtil] content_language = en default_api_version = 2 default_project_id = your-project-name [OAuth2]
Related[edit]
See also[edit]
gsutil config, -r, -w, -f, -e, --help
,$HOME/.boto
gsutil
[config | singurl | mb | iam | cp | ls | acl | defacl | ubla | du | cors | --help
],$HOME/.boto, Cloud Shell
- Boto3,
botocore, boto3.client, Boto3: aws s3 ls
Advertising: