Created
June 25, 2020 16:57
-
-
Save s-chb/14795ad4bffa5a8be9c5fc6bfe123ae0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| from com.obs.client.obs_client import ObsClient | |
| from com.obs.models.delete_objects_request import DeleteObjectsRequest, Object | |
| # Setup the credentials | |
| AK='put here your public access key' | |
| SK='put here your secret access key' | |
| server='put here your endpoint' | |
| bucketName = 'put here the name of the bucket you wanna create or you wanna deal with' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment