Registering the object storage authentication information to use in common for file transfers
This section explains the default settings by using an example of how to register the default information for the Storage Authentication Information.
This example shows how to register the authentication information to use Amazon S3 in the default information for the Storage Authentication Information on the Cloud Storage DB, and how to set the authentication information that is used in common when the individual settings are not configured.
Although the example is for Amazon S3, you can register for other object storage in the same way using the command for the relevant object storage.
The procedure to register the default information for the Storage Authentication Information for Amazon S3 is as follows:
✓ |
: |
Register the setting value |
- |
: |
Do not register the setting value |
Register the values for AWS Access Key and AWS Secret Access Key using the registration command of the default information for the Storage Authentication Information.
utls3infoadd -t auth --default --access-key ABCDEFGH --secret-access-key 123456789
For details on the registration command of the default information for the Storage Authentication Information for Amazon S3, refer to Registration command of the default information for the Storage Authentication Information (Amazon S3).
The following list is output:
$ utls3infoadd -t auth --default --access-key ABCDEFGH --secret-access-key 123456789 The default information for Storage Authentication Information will be changed. Access Key: ABCDEFGH Secret Access Key: 123456789 Session Token: Use the default value. Enable IAM Role: Use the default value. Switch Role ARN: Use the default value. External ID: Use the default value. Role Session Name: Use the default value.
Check whether the values for AWS Access Key and AWS Secret Access Key are changed to the specified values.
If you do not specify "-f" or "--force" with the registration command of the default information for the Storage Authentication Information, the following confirmation message is output:
Are you sure to register? [y/n]:
After the confirmation message is output, input "y" or "Y" to execute the registration command of the default information for the Storage Authentication Information.
The registration of the default information for AWS Access Key and AWS Secret Access Key is completed.
For details on how to use the default information for the Storage Authentication Information, refer to Storage Authentication Information settings.
For details on the command for other object storage, refer to the following: