-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maksim Kuznetsov
committed
Mar 27, 2024
1 parent
2392784
commit aecb1de
Showing
12 changed files
with
82 additions
and
81 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# Create & Delete EC2 credential | ||
# Create & Delete S3 Credentials | ||
|
||
This example program demonstrates how to manage creating and deleting EC2 credential for a Service User. | ||
This example program demonstrates how to manage creating and deleting S3 Credentials for a Service User. | ||
|
||
The part of deleting a just-created credential is commented. | ||
The part of deleting a just-created credentials is commented. | ||
|
||
## Running this example | ||
|
||
Running this file will execute the following operations: | ||
|
||
1. **Create:** Create is used to create a new EC2 credential. It is implied, that the Service User ID is known. | ||
2. **(Delete):** _(commented by default)_ Delete deletes a just-created credential on a previous step. | ||
1. **Create:** Create is used to create a new S3 Credentials. It is implied, that the Service User ID is known. | ||
2. **(Delete):** _(commented by default)_ Delete deletes a just-created credentials on a previous step. | ||
|
||
You should see an output like the following (with both operations enabled): | ||
|
||
``` | ||
Step 1: Created credential Secret Key: a1b2c3... AccessKey: 1a2b3c... | ||
Step 2: Deleted the credential | ||
Step 1: Created credentials Secret Key: a1b2c3... AccessKey: 1a2b3c... | ||
Step 2: Deleted the credentials | ||
``` |
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Package s3credentials provides a set of functions for interacting with the Selectel S3 Credentials API. | ||
package s3credentials |
This file contains 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
Oops, something went wrong.