Este conteúdo não está disponível no idioma selecionado.
Chapter 3. Commands
3.1. Connecting to RHSC Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
3.1.1. Connect to RHSC via connect Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
The
connect command connects to Red Hat Storage Console Application as follows:
connect [options]
# connect [options]
| Option | Required | Description |
|---|---|---|
--ca-file | Yes, unless --insecure is used. | The certificate authority file to connect via SSL. |
--cert-file | No | The certificate file to connect via SSL. |
--filter | No | Enable filtering based on user permissions. |
--insecure | Yes, but only if no certificate authority is provided. | Allow the CLI to connect via SSL without certification. Use this option with caution, as it may allow man-in-the-middle (MITM) attackers to spoof the identity of the server. |
--key-file | No | The key file to connect via SSL. |
--password | Yes | The password for the user attempting access to the Red Hat Storage Console Application. |
--port | No | The port number to connect to the REST API, if not specified as part of the --url. |
--session-timeout | No | The timeout period for the session. |
--timeout | - | The timeout period for connection. |
--url | Yes | The URL to the Red Hat Storage Console's REST API. This takes the form of https://[server]/api. |
--user | Yes | The user name and directory service domain of the user attempting access to the Red Hat Storage Console Application. This takes the form of [username]@[domain]. |
Example 3.1. Example for connect
Note
Use the
--insecure option to connect without certification. However, this is not recommended because it allows man-in-the-middle (MITM) attackers to spoof the server's identity.
3.1.2. Disconnect from RHSC Using disconnect Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
The
disconnect command disconnects from Red Hat Storage Console Application as follows:
disconnect
# disconnect
Example 3.2. Example for disconnect