https://docs.digitalocean.com/products/spaces/reference/s3-compatibility/
- setup credentials
Applications & API > Spaces access keys
- setting credentials
1 2 3 4 5 |
$ vim ~/.aws/credentials [hoge] aws_access_key_id = xxxxxxxxxx aws_secret_access_key = xxxxxxxx region = ap-southeast-1 |
- download
1 2 3 |
$ aws --profile=hoge s3api get-object --bucket hoge --key index.html --endpoint-url https://hoge.sgp1.digitaloceanspaces.com index.html $ cat index.html wiki!!! |
Was this helpful?
0 / 0
1989年生まれのSRE。ホスティングから大規模なアドテクなどのインフラエンジニアとして携わる。現在はサービスの信頼性向上、DevOps、可用性、レイテンシ、パフォーマンス、モニタリング、オブザーバビリティ、緊急対応、AWS/Azureでのインフラ構築、Docker開発環境の提供、Kubernetes保守、インフラコード化、新技術の検証、リファクタリング、セキュリティ強化などを担当している。個人事業主では数社サーバー保守とベンチャー企業のSREインフラコンサルティングやMENTAで未経験者にインフラのコーチング/コミュニティの運用を実施している。また、「脆弱性スキャナVuls」のOSS活動もしており、自称エバンジェリスト/技術広報/テクニカルサポート/コントリビュータでもある。