This command adds user credentials to a local repository so that you can use other commands without entering additional password information.
CLI
Add-StorageSystemCredential [ -StorageSystem Storage_system_name_or_IP_address ] [-Protocol HTTPS | HTTP] [-UserName User_name] [-Password User_password
Availability
Operational mode
Description
This command enables you to add credentials to a local repository so that you can use other commands without entering additional password information.
Parameters
- -StorageSystem | -system Storage_system_name_or_IP_address
- Specifies the storage system to which you want to add credentials.
- -Protocol HTTPS | HTTP
- Specifies the type of protocol that you want to use.
- -UserName | -user User_name
- Specifies a valid user name on the storage system.
- -Password User_password
- Specifies the password associated with the storage system user name.
Example
The following command adds credentials to the local repository for storagesystemA using HTTPS protocol:
Add-StorageSystemCredential -system storagesystemA -user myUserName -Password myPassword -Protocol HTTPS