VALIDATE CLOUD (Validate cloud credentials)
Before you define a cloud-container storage pool, use this command to ensure that the credentials for the storage pool are valid and that the necessary permissions are granted to the user.
Privilege class
Any administrator can issue this command.
Syntax
Parameters
- CONNection
- Specifies the name of a connection that will be used to back up an IBM Spectrum® Protect database to a cloud provider. Enter the name that you specified with the DEFINE CONNECTION command. This parameter is optional. If you specify the CONNECTION parameter, no other parameters are allowed. The maximum length of the name is 30 characters.
- CLOUDType
- Specifies the type of cloud environment where you are configuring the storage pool.
- CLOUDUrl
- Specifies the URL of the cloud environment where you configure the storage pool. If the CONNECTION parameter is not specified, the CLOUDURL parameter is required. Based on your cloud provider, you can use a blob service endpoint, region endpoint URL, an Accesser® IP address, a public authentication endpoint, or a similar value for this parameter. Ensure that you include the protocol, such as https:// or http://, at the beginning of the URL. The maximum length of the web address is 870 characters. The CLOUDURL parameter is validated when the first backup begins.
- IDentity
- Specifies the user ID for the cloud. If the CONNECTION parameter is not specified, the IDENTITY parameter is required for all supported cloud computing systems except Azure. If you specify CLOUDTYPE=AZURE, do not specify the IDENTITY parameter. Based on your cloud provider, you can use an access key ID, a user name, a tenant name and user name, or a similar value for this parameter. The maximum length of the user ID is 255 characters.
- PAssword
- Specifies the password for the cloud. If the CONNECTION parameter is not specified, the PASSWORD parameter is required. Based on your cloud provider, you can use a shared access signature (SAS) token, secret access key, an API key, a password, or a similar value for this parameter. The maximum length of the password is 256 characters.
- BUCKETName
- Specifies the name for an AWS S3 bucket or a IBM Cloud Object Storage vault to use with this storage pool, instead of using the default bucket name or vault name. This parameter is optional, and is valid only if you specify CLOUDTYPE=S3. If a bucket or vault exists with the name that you specify, that bucket or vault is tested to ensure that the proper permissions are set. If the bucket or vault does not exist, the parameter verifies only that a bucket or vault with that name does not exist. Follow the naming restrictions for your cloud provider when you specify this parameter. Review the permissions for the bucket or vault and make sure that the credentials have permission to read, write, list, and delete objects in this bucket or vault.
Example: Verify the credentials of an S3 cloud-container storage pool
Validate the credentials of the cloud-container storage pool.validate cloud
cloudtype=s3 cloudurl=http://123.234.123.234:5000/v2.0
password=protect8991 bucketname=ibmsp.5282392064d011e69d770a0027000000
Example: Verify the credentials through a cloud connection
Validate a cloud connection that is named CONN1.validate cloud connection=conn1
Related commands
| Command | Description |
|---|---|
| DEFINE STGPOOL (cloud-container) | Define a cloud-container storage pool. |
| QUERY REPLSERVER | Displays information about replicating servers. |
| UPDATE STGPOOL (cloud-container) | Update a cloud-container storage pool. |
