No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change object_storage_compatible_s3_iam

change object_storage_compatible_s3_iam

Function

The change object_storage_compatible_s3_iam command is used to modify IAM service config.

Format

change object_storage_compatible_s3_iam <URL> <httpsEnable> <username> <domainId> <ProjectName>

Parameters

Parameter

Description

Value

URL IAM address.

URL rules:

1. The URL can contain a maximum of 255 characters and cannot contain Chinese characters.

2. The URL must contain at least two levels of domain names. Each level of the domain name contains a maximum of 63 characters, including uppercase letters, lowercase letters, digits, hyphens (-), and periods (.). A child domain name cannot start or end with a hyphen (-), and a top-level domain name cannot contain a hyphen (-).

3. IPv4 and IPv6 are supported.

4. The port ID ranges from 1 to 65535.

5. The path supports the RFC3986 standard, that is, the path can contain uppercase/lowercase letters, digits, and special characters including !, #, $, &, ', (, ), *, +, ,, /, :, ;, =, ?, @, [, ], -, _, ., and ~.

httpsEnable Whether to start HTTPS,default value is true.

true or false.

username Username of the IAM service.

1 to 127 non-Chinese characters.

domainId domainId.

1 to 127 non-Chinese characters.

ProjectName ProjectName.

1 to 63 non-Chinese characters.

password Password of the IAM service.

8 to 63 non-Chinese characters.

Level

Device administrator

Usage Guidelines

This command is used to modify parameters about IAM configurations.

Example

  • Modify the IAM service configuration, in which the URL can be an IP address.

    admin:/>change object_storage_compatible_s3_iam 192.168.0.1:19443 true mos_admin op_service MOS
    Please input your password:**************
    Please input your password again:**************
    WARNING: Ensure that authentication information is correct. Changing the authentication mode causes accounts created in the previous authentication mode unavailable to use. (Data of the previously created accounts will be retained. If the authentication mode is switched back to the previous one, their data will be accessible.).
    Have you read warning message carefully?(y/n)y
     
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully.
  • Modify the IAM service configuration, in which the URL can be a domain name.

    admin:/>change object_storage_compatible_s3_iam www.iam.com:30443 true mos_admin op_service MOS
    Please input your password:**************
    Please input your password again:**************
    WARNING: Ensure that authentication information is correct. Changing the authentication mode causes accounts created in the previous authentication mode unavailable to use. (Data of the previously created accounts will be retained. If the authentication mode is switched back to the previous one, their data will be accessible.).
    Have you read warning message carefully?(y/n)y
     
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25011

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next